Skip to content

Commit 2f83773

Browse files
committed
Add whatsnew and small documentation fix
1 parent d453cc4 commit 2f83773

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.21.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ Performance Improvements
657657
- :attr:`Timestamp.microsecond` no longer re-computes on attribute access (:issue:`17331`)
658658
- Improved performance of the :class:`CategoricalIndex` for data that is already categorical dtype (:issue:`17513`)
659659
- Improved performance of :meth:`RangeIndex.min` and :meth:`RangeIndex.max` by using ``RangeIndex`` properties to perform the computations (:issue:`17607`)
660+
- Added a keyword argument, `cache`, to :func:`to_datetime` that improved the performance of converting duplicate datetime arguments (:issue: `11665`)
660661

661662
.. _whatsnew_0210.docs:
662663

pandas/core/tools/datetimes.py

+1-1
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)