Skip to content

Commit e653989

Browse files
committed
Add whatsnew and small documentation fix
1 parent 953d871 commit e653989

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.21.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ Performance Improvements
802802
- :attr:`Timestamp.microsecond` no longer re-computes on attribute access (:issue:`17331`)
803803
- Improved performance of the :class:`CategoricalIndex` for data that is already categorical dtype (:issue:`17513`)
804804
- Improved performance of :meth:`RangeIndex.min` and :meth:`RangeIndex.max` by using ``RangeIndex`` properties to perform the computations (:issue:`17607`)
805+
- Added a keyword argument, `cache`, to :func:`to_datetime` that improved the performance of converting duplicate datetime arguments (:issue: `11665`)
805806

806807
.. _whatsnew_0210.docs:
807808

pandas/core/tools/datetimes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False,
114114
.. versionadded: 0.20.0
115115
cache : boolean, default False
116116
If True, use a cache of unique, converted dates to apply the datetime
117-
conversion. Produces signficant speed-ups when parsing duplicate date.
117+
conversion. Produces signficant speed-ups when parsing duplicate dates.
118118
119119
.. versionadded: 0.21.0
120120
Returns

0 commit comments

Comments
 (0)