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.23.1.txt
+4-41
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ and bug fixes. We recommend that all users upgrade to this version.
13
13
.. _whatsnew_0231.fixed_regressions:
14
14
15
15
Fixed Regressions
16
+
~~~~~~~~~~~~~~~~~
16
17
17
18
- Reverted the ability of :func:`~DataFrame.to_sql` to perform multivalue
18
19
inserts as this caused regression in certain cases (:issue:`21103`).
@@ -34,87 +35,49 @@ Performance Improvements
34
35
35
36
- Improved performance of :meth:`CategoricalIndex.is_monotonic_increasing`, :meth:`CategoricalIndex.is_monotonic_decreasing` and :meth:`CategoricalIndex.is_monotonic` (:issue:`21025`)
36
37
- Improved performance of :meth:`CategoricalIndex.is_unique` (:issue:`21107`)
37
-
-
38
-
-
39
38
40
-
Documentation Changes
41
-
~~~~~~~~~~~~~~~~~~~~~
42
-
43
-
-
44
-
-
45
39
46
40
.. _whatsnew_0231.bug_fixes:
47
41
48
42
Bug Fixes
49
43
~~~~~~~~~
50
44
51
45
Groupby/Resample/Rolling
52
-
^^^^^^^^^^^^^^^^^^^^^^^^
53
46
54
47
- Bug in :func:`DataFrame.agg` where applying multiple aggregation functions to a :class:`DataFrame` with duplicated column names would cause a stack overflow (:issue:`21063`)
55
48
- Bug in :func:`pandas.core.groupby.GroupBy.ffill` and :func:`pandas.core.groupby.GroupBy.bfill` where the fill within a grouping would not always be applied as intended due to the implementations' use of a non-stable sort (:issue:`21207`)
56
49
- Bug in :func:`pandas.core.groupby.GroupBy.rank` where results did not scale to 100% when specifying ``method='dense'`` and ``pct=True``
57
50
- Bug in :func:`pandas.DataFrame.rolling` and :func:`pandas.Series.rolling` which incorrectly accepted a 0 window size rather than raising (:issue:`21286`)
58
51
59
-
Strings
60
-
^^^^^^^
52
+
Data-type specific
61
53
62
54
- Bug in :meth:`Series.str.replace()` where the method throws `TypeError` on Python 3.5.2 (:issue: `21078`)
63
-
64
-
Timedelta
65
-
^^^^^^^^^
66
55
- Bug in :class:`Timedelta`: where passing a float with a unit would prematurely round the float precision (:issue: `14156`)
67
-
68
-
Categorical
69
-
^^^^^^^^^^^
70
-
71
-
- Bug in :func:`pandas.util.testing.assert_index_equal` which raised ``AssertionError`` incorrectly, when comparing two :class:`CategoricalIndex` objects with param ``check_categorical=False`` (:issue:`19776`)
72
-
- Bug in :meth:`Categorical.fillna` incorrectly raising a ``TypeError`` when `value` the individual categories are iterable and `value` is an iterable (:issue:`21097`, :issue:`19788`)
56
+
- Bug in :func:`pandas.testing.assert_index_equal` which raised ``AssertionError`` incorrectly, when comparing two :class:`CategoricalIndex` objects with param ``check_categorical=False`` (:issue:`19776`)
73
57
74
58
Sparse
75
-
^^^^^^
76
59
77
60
- Bug in :attr:`SparseArray.shape` which previously only returned the shape :attr:`SparseArray.sp_values` (:issue:`21126`)
78
61
79
-
Conversion
80
-
^^^^^^^^^^
81
-
82
-
-
83
-
-
84
-
85
62
Indexing
86
-
^^^^^^^^
87
63
88
64
- Bug in :meth:`Series.reset_index` where appropriate error was not raised with an invalid level name (:issue:`20925`)
89
65
- Bug in :func:`interval_range` when ``start``/``periods`` or ``end``/``periods`` are specified with float ``start`` or ``end`` (:issue:`21161`)
90
66
- Bug in :meth:`MultiIndex.set_names` where error raised for a ``MultiIndex`` with ``nlevels == 1`` (:issue:`21149`)
91
-
- Bug in :attr:`DatetimeIndex.date` where an incorrect date is returned when the input date has a non-UTC timezone (:issue:`21230`)
92
67
- Bug in :class:`IntervalIndex` constructors where creating an ``IntervalIndex`` from categorical data was not fully supported (:issue:`21243`, issue:`21253`)
93
68
- Bug in :meth:`MultiIndex.sort_index` which was not guaranteed to sort correctly with ``level=1``; this was also causing data misalignment in particular :meth:`DataFrame.stack` operations (:issue:`20994`, :issue:`20945`, :issue:`21052`)
94
-
- Bug in :attr:`DatetimeIndex.time` where given a tz-aware Timestamp, a tz-aware Time is returned instead of tz-naive (:issue:`21267`)
95
-
-
96
69
97
70
I/O
98
-
^^^
99
71
100
72
- Bug in IO methods specifying ``compression='zip'`` which produced uncompressed zip archives (:issue:`17778`, :issue:`21144`)
101
73
- Bug in :meth:`DataFrame.to_stata` which prevented exporting DataFrames to buffers and most file-like objects (:issue:`21041`)
102
-
-
103
-
104
-
Plotting
105
-
^^^^^^^^
106
-
107
-
-
108
-
-
74
+
- Bug in :meth:`read_stata` and :class:`StataReader` which did not correctly decode utf-8 strings on Python 3 from Stata 14 files (dta version 118) (:issue:`21244`)
109
75
110
76
Reshaping
111
-
^^^^^^^^^
112
77
113
78
- Bug in :func:`concat` where error was raised in concatenating :class:`Series` with numpy scalar and tuple names (:issue:`21015`)
114
79
- Bug in :func:`concat` warning message providing the wrong guidance for future behavior (:issue:`21101`)
115
80
116
81
Other
117
-
^^^^^
118
82
119
83
- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`)
120
-
- Bug preventing pandas from being importable with -OO optimization (:issue:`21071`)
0 commit comments