Skip to content

Commit 7f75666

Browse files
committed
Add whatsnew and small documentation fix
1 parent 1fd1d25 commit 7f75666

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
@@ -716,6 +716,7 @@ Performance Improvements
716716
- :attr:`Timestamp.microsecond` no longer re-computes on attribute access (:issue:`17331`)
717717
- Improved performance of the :class:`CategoricalIndex` for data that is already categorical dtype (:issue:`17513`)
718718
- Improved performance of :meth:`RangeIndex.min` and :meth:`RangeIndex.max` by using ``RangeIndex`` properties to perform the computations (:issue:`17607`)
719+
- Added a keyword argument, `cache`, to :func:`to_datetime` that improved the performance of converting duplicate datetime arguments (:issue: `11665`)
719720

720721
.. _whatsnew_0210.docs:
721722

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)