You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.21.1.txt
+6-3
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,8 @@ Documentation Changes
57
57
Bug Fixes
58
58
~~~~~~~~~
59
59
- Bug in ``DataFrame.resample(...).apply(...)`` when there is a callable that returns different columns (:issue:`15169`)
60
+
- Bug in :class:`TimedeltaIndex` subtraction could incorrectly overflow when ``NaT`` is present (:issue:`17791`)
61
+
- Bug in :class:`DatetimeIndex` subtracting datetimelike from DatetimeIndex could fail to overflow (:issue:`18020`)
60
62
61
63
Conversion
62
64
^^^^^^^^^^
@@ -76,7 +78,8 @@ I/O
76
78
^^^
77
79
78
80
- Bug in class:`~pandas.io.stata.StataReader` not converting date/time columns with display formatting addressed (:issue:`17990`). Previously columns with display formatting were normally left as ordinal numbers and not converted to datetime objects.
79
-
81
+
- Bug in :func:`read_csv` when reading a compressed UTF-16 encoded file (:issue:`18071`)
82
+
- Bug in :meth:`DataFrame.to_csv` when the table had ``MultiIndex`` columns, and a list of strings was passed in for ``header`` (:issue:`5539`)
80
83
81
84
Plotting
82
85
^^^^^^^^
@@ -102,7 +105,7 @@ Sparse
102
105
Reshaping
103
106
^^^^^^^^^
104
107
105
-
-
108
+
- Error message in ``pd.merge_asof()`` for key datatype mismatch now includes datatype of left and right key (:issue:`18068`)
106
109
-
107
110
-
108
111
@@ -119,7 +122,7 @@ Categorical
119
122
- Bug in :meth:`DataFrame.astype` where casting to 'category' on an empty ``DataFrame`` causes a segmentation fault (:issue:`18004`)
120
123
- Error messages in the testing module have been improved when items have
121
124
different ``CategoricalDtype`` (:issue:`18069`)
122
-
-
125
+
- ``CategoricalIndex`` can now correctly take a ``pd.api.types.CategoricalDtype`` as its dtype (:issue:`18116`)
0 commit comments