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
+14-53
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,22 @@ and bug fixes. We recommend that all users upgrade to this version.
10
10
:local:
11
11
:backlinks: none
12
12
13
-
.. _whatsnew_0231.enhancements:
14
13
15
-
New features
16
-
~~~~~~~~~~~~
14
+
.. _whatsnew_0231.fixed_regressions:
17
15
16
+
Fixed Regressions
17
+
~~~~~~~~~~~~~~~~~
18
18
19
-
.. _whatsnew_0231.deprecations:
20
-
21
-
Deprecations
22
-
~~~~~~~~~~~~
19
+
- Fixed regression in the :attr:`DatetimeIndex.date` and :attr:`DatetimeIndex.time`
20
+
attributes in case of timezone-aware data: :attr:`DatetimeIndex.time` returned
21
+
a tz-aware time instead of tz-naive (:issue:`21267`) and :attr:`DatetimeIndex.date`
22
+
returned incorrect date when the input date has a non-UTC timezone (:issue:`21230`).
23
+
- Fixed regression in :meth:`pandas.io.json.json_normalize` when called with ``None`` values
24
+
in nested levels in JSON (:issue:`21158`).
25
+
- Bug in :meth:`~DataFrame.to_csv` causes encoding error when compression and encoding are specified (:issue:`21241`, :issue:`21118`)
26
+
- Bug preventing pandas from being importable with -OO optimization (:issue:`21071`)
27
+
- 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`)
23
28
24
-
-
25
-
-
26
29
27
30
.. _whatsnew_0231.performance:
28
31
@@ -31,89 +34,47 @@ Performance Improvements
31
34
32
35
- Improved performance of :meth:`CategoricalIndex.is_monotonic_increasing`, :meth:`CategoricalIndex.is_monotonic_decreasing` and :meth:`CategoricalIndex.is_monotonic` (:issue:`21025`)
33
36
- Improved performance of :meth:`CategoricalIndex.is_unique` (:issue:`21107`)
34
-
-
35
-
-
36
-
37
-
Documentation Changes
38
-
~~~~~~~~~~~~~~~~~~~~~
39
37
40
-
-
41
-
-
42
38
43
39
.. _whatsnew_0231.bug_fixes:
44
40
45
41
Bug Fixes
46
42
~~~~~~~~~
47
43
48
44
Groupby/Resample/Rolling
49
-
^^^^^^^^^^^^^^^^^^^^^^^^
50
45
51
46
- 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`)
52
47
- 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`)
53
48
- Bug in :func:`pandas.core.groupby.GroupBy.rank` where results did not scale to 100% when specifying ``method='dense'`` and ``pct=True``
54
49
55
-
Strings
56
-
^^^^^^^
50
+
Data-type specific
57
51
58
52
- Bug in :meth:`Series.str.replace()` where the method throws `TypeError` on Python 3.5.2 (:issue: `21078`)
59
-
60
-
Timedelta
61
-
^^^^^^^^^
62
53
- Bug in :class:`Timedelta`: where passing a float with a unit would prematurely round the float precision (:issue: `14156`)
63
-
64
-
Categorical
65
-
^^^^^^^^^^^
66
-
67
-
- 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`)
68
-
- 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`)
54
+
- 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`)
69
55
70
56
Sparse
71
-
^^^^^^
72
57
73
58
- Bug in :attr:`SparseArray.shape` which previously only returned the shape :attr:`SparseArray.sp_values` (:issue:`21126`)
74
59
75
-
Conversion
76
-
^^^^^^^^^^
77
-
78
-
-
79
-
-
80
-
81
60
Indexing
82
-
^^^^^^^^
83
61
84
62
- Bug in :meth:`Series.reset_index` where appropriate error was not raised with an invalid level name (:issue:`20925`)
85
63
- Bug in :func:`interval_range` when ``start``/``periods`` or ``end``/``periods`` are specified with float ``start`` or ``end`` (:issue:`21161`)
86
64
- Bug in :meth:`MultiIndex.set_names` where error raised for a ``MultiIndex`` with ``nlevels == 1`` (:issue:`21149`)
87
-
- Bug in :attr:`DatetimeIndex.date` where an incorrect date is returned when the input date has a non-UTC timezone (:issue:`21230`)
88
65
- Bug in :class:`IntervalIndex` constructors where creating an ``IntervalIndex`` from categorical data was not fully supported (:issue:`21243`, issue:`21253`)
89
66
- 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`)
90
-
- Bug in :attr:`DatetimeIndex.time` where given a tz-aware Timestamp, a tz-aware Time is returned instead of tz-naive (:issue:`21267`)
91
-
-
92
67
93
68
I/O
94
-
^^^
95
69
96
70
- Bug in IO methods specifying ``compression='zip'`` which produced uncompressed zip archives (:issue:`17778`, :issue:`21144`)
97
71
- Bug in :meth:`DataFrame.to_stata` which prevented exporting DataFrames to buffers and most file-like objects (:issue:`21041`)
98
-
- Bug when :meth:`pandas.io.json.json_normalize` was called with ``None`` values in nested levels in JSON (:issue:`21158`)
99
-
- Bug in :meth:`DataFrame.to_csv` and :meth:`Series.to_csv` causes encoding error when compression and encoding are specified (:issue:`21241`, :issue:`21118`)
100
72
- 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`)
101
-
-
102
-
103
-
Plotting
104
-
^^^^^^^^
105
-
106
-
-
107
-
-
108
73
109
74
Reshaping
110
-
^^^^^^^^^
111
75
112
76
- Bug in :func:`concat` where error was raised in concatenating :class:`Series` with numpy scalar and tuple names (:issue:`21015`)
113
-
-
114
77
115
78
Other
116
-
^^^^^
117
79
118
80
- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`)
119
-
- Bug preventing pandas from being importable with -OO optimization (:issue:`21071`)
0 commit comments