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
- :class:`pandas.core.groupby.GroupBy.transform` now raises on invalid operation names (:issue:`27489`).
43
+
-
44
+
78
45
Other API changes
79
46
^^^^^^^^^^^^^^^^^
80
47
81
48
- :meth:`pandas.api.types.infer_dtype` will now return "integer-na" for integer and ``np.nan`` mix (:issue:`27283`)
82
-
-:meth:`MultiIndex.from_arrays` will no longer infer names from arrays if ``names=None`` is explicitly provided (:issue:`27292`)
49
+
-
83
50
-
84
51
85
52
.. _whatsnew_1000.deprecations:
@@ -92,17 +59,8 @@ Deprecations
92
59
93
60
.. _whatsnew_1000.prior_deprecations:
94
61
95
-
96
-
Removed SparseSeries and SparseDataFrame
97
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98
-
99
-
``SparseSeries`` and ``SparseDataFrame`` have been removed (:issue:`28425`).
100
-
We recommend using a ``Series`` or ``DataFrame`` with sparse values instead.
101
-
See :ref:`sparse.migration` for help with migrating existing code.
102
-
103
62
Removal of prior version deprecations/changes
104
63
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105
-
106
64
- Removed the previously deprecated :meth:`Series.get_value`, :meth:`Series.set_value`, :meth:`DataFrame.get_value`, :meth:`DataFrame.set_value` (:issue:`17739`)
107
65
- Changed the the default value of `inplace` in :meth:`DataFrame.set_index` and :meth:`Series.set_axis`. It now defaults to False (:issue:`27600`)
108
66
- :meth:`pandas.Series.str.cat` now defaults to aligning ``others``, using ``join='left'`` (:issue:`27611`)
@@ -118,21 +76,17 @@ Performance improvements
118
76
- Performance improvement in indexing with a non-unique :class:`IntervalIndex` (:issue:`27489`)
119
77
- Performance improvement in `MultiIndex.is_monotonic` (:issue:`27495`)
120
78
- Performance improvement in :func:`cut` when ``bins`` is an :class:`IntervalIndex` (:issue:`27668`)
121
-
- Performance improvement in :meth:`DataFrame.corr` when ``method`` is ``"spearman"`` (:issue:`28139`)
122
-
- Performance improvement in :meth:`DataFrame.replace` when provided a list of values to replace (:issue:`28099`)
79
+
123
80
124
81
.. _whatsnew_1000.bug_fixes:
125
82
126
83
Bug fixes
127
84
~~~~~~~~~
128
85
129
-
- Bug in :meth:`DataFrame.to_html` when using ``formatters=<list>`` and ``max_cols`` together. (:issue:`25955`)
130
86
131
87
Categorical
132
88
^^^^^^^^^^^
133
89
134
-
- Added test to assert the :func:`fillna` raises the correct ValueError message when the value isn't a value from categories (:issue:`13628`)
135
-
- Bug in :meth:`Categorical.astype` where ``NaN`` values were handled incorrectly when casting to int (:issue:`28406`)
136
90
-
137
91
-
138
92
@@ -141,12 +95,6 @@ Datetimelike
141
95
^^^^^^^^^^^^
142
96
- Bug in :meth:`Series.__setitem__` incorrectly casting ``np.timedelta64("NaT")`` to ``np.datetime64("NaT")`` when inserting into a :class:`Series` with datetime64 dtype (:issue:`27311`)
143
97
- Bug in :meth:`Series.dt` property lookups when the underlying data is read-only (:issue:`27529`)
144
-
- Bug in ``HDFStore.__getitem__`` incorrectly reading tz attribute created in Python 2 (:issue:`26443`)
145
-
- Bug in :func:`to_datetime` where passing arrays of malformed ``str`` with errors="coerce" could incorrectly lead to raising ``ValueError`` (:issue:`28299`)
146
-
- Bug in :meth:`pandas.core.groupby.SeriesGroupBy.nunique` where ``NaT`` values were interfering with the count of unique values (:issue:`27951`)
147
-
- Bug in :class:`Timestamp` subtraction when subtracting a :class:`Timestamp` from a ``np.datetime64`` object incorrectly raising ``TypeError`` (:issue:`28286`)
148
-
- Addition and subtraction of integer or integer-dtype arrays with :class:`Timestamp` will now raise ``NullFrequencyError`` instead of ``ValueError`` (:issue:`28268`)
149
-
- Bug in :class:`Series` and :class:`DataFrame` with integer dtype failing to raise ``TypeError`` when adding or subtracting a ``np.datetime64`` object (:issue:`28080`)
150
98
-
151
99
152
100
@@ -191,11 +139,8 @@ Interval
191
139
Indexing
192
140
^^^^^^^^
193
141
194
-
- Bug in assignment using a reverse slicer (:issue:`26939`)
195
-
- Bug in :meth:`DataFrame.explode` would duplicate frame in the presence of duplicates in the index (:issue:`28010`)
196
-
- Bug in reindexing a :meth:`PeriodIndex` with another type of index that contained a `Period` (:issue:`28323`) (:issue:`28337`)
197
-
- Fix assignment of column via `.loc` with numpy non-ns datetime type (:issue:`27395`)
198
-
- Bug in :meth:`Float64Index.astype` where ``np.inf`` was not handled properly when casting to an integer dtype (:issue:`28475`)
142
+
-
143
+
-
199
144
200
145
Missing
201
146
^^^^^^^
@@ -212,60 +157,53 @@ MultiIndex
212
157
I/O
213
158
^^^
214
159
215
-
- :meth:`read_csv` now accepts binary mode file buffers when using the Python csv engine (:issue:`23779`)
216
-
- Bug in :meth:`DataFrame.to_json` where using a Tuple as a column or index value and using ``orient="columns"`` or ``orient="index"`` would produce invalid JSON (:issue:`20500`)
217
-
- Improve infinity parsing. :meth:`read_csv` now interprets ``Infinity``, ``+Infinity``, ``-Infinity`` as floating point values (:issue:`10065`)
218
-
- Bug in :meth:`DataFrame.to_csv` where values were truncated when the length of ``na_rep`` was shorter than the text input data. (:issue:`25099`)
219
-
- Bug in :func:`DataFrame.to_string` where values were truncated using display options instead of outputting the full content (:issue:`9784`)
220
-
- Bug in :meth:`DataFrame.to_json` where a datetime column label would not be written out in ISO format with ``orient="table"`` (:issue:`28130`)
160
+
-
161
+
-
221
162
222
163
Plotting
223
164
^^^^^^^^
224
165
225
-
- Bug in :meth:`Series.plot` not able to plot boolean values (:issue:`23719`)
226
166
-
227
-
- Bug in :meth:`DataFrame.plot` not able to plot when no rows (:issue:`27758`)
228
-
- Bug in :meth:`DataFrame.plot` producing incorrect legend markers when plotting multiple series on the same axis (:issue:`18222`)
229
-
- Bug in :meth:`DataFrame.plot` when ``kind='box'`` and data contains datetime or timedelta data. These types are now automatically dropped (:issue:`22799`)
230
-
- Bug in :meth:`DataFrame.plot.line` and :meth:`DataFrame.plot.area` produce wrong xlim in x-axis (:issue:`27686`, :issue:`25160`, :issue:`24784`)
231
-
- :func:`set_option` now validates that the plot backend provided to ``'plotting.backend'`` implements the backend when the option is set, rather than when a plot is created (:issue:`28163`)
167
+
-
232
168
233
169
Groupby/resample/rolling
234
170
^^^^^^^^^^^^^^^^^^^^^^^^
235
171
236
172
-
237
-
- Bug in :meth:`DataFrame.rolling` not allowing for rolling over datetimes when ``axis=1`` (:issue: `28192`)
173
+
-
238
174
- Bug in :meth:`DataFrame.groupby` not offering selection by column name when ``axis=1`` (:issue:`27614`)
239
-
- Bug in :meth:`DataFrameGroupby.agg` not able to use lambda function with named aggregation (:issue:`27519`)
240
175
241
176
Reshaping
242
177
^^^^^^^^^
243
178
244
-
- Bug in :meth:`DataFrame.stack` not handling non-unique indexes correctly when creating MultiIndex (:issue: `28301`)
179
+
-
245
180
-
246
181
247
182
Sparse
248
183
^^^^^^
249
-
- Bug in :class:`SparseDataFrame` arithmetic operations incorrectly casting inputs to float (:issue:`28107`)
184
+
250
185
-
251
186
-
252
187
188
+
189
+
Build Changes
190
+
^^^^^^^^^^^^^
191
+
- Fixed pyqt development dependency issue because of different pyqt package name in conda and PyPI (:issue:`26838`)
192
+
193
+
253
194
ExtensionArray
254
195
^^^^^^^^^^^^^^
255
196
256
-
- Bug in :class:`arrays.PandasArray` when setting a scalar string (:issue:`28118`, :issue:`28150`).
197
+
-
257
198
-
258
199
259
200
260
201
Other
261
202
^^^^^
262
203
- Trying to set the ``display.precision``, ``display.max_rows`` or ``display.max_columns`` using :meth:`set_option` to anything but a ``None`` or a positive int will raise a ``ValueError`` (:issue:`23348`)
263
-
- Using :meth:`DataFrame.replace` with overlapping keys in a nested dictionary will no longer raise, now matching the behavior of a flat dictionary (:issue:`27660`)
264
-
- :meth:`DataFrame.to_csv` and :meth:`Series.to_csv` now support dicts as ``compression`` argument with key ``'method'`` being the compression method and others as additional compression options when the compression method is ``'zip'``. (:issue:`26023`)
265
-
- :meth:`Series.append` will no longer raise a ``TypeError`` when passed a tuple of ``Series`` (:issue:`28410`)
266
204
- Bug in :meth:`pandas.io.formats.style.Styler` formatting for floating values not displaying decimals correctly (:issue:`13257`)
0 commit comments