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
- :func:`read_excel()` has gained the ``nrows`` parameter (:issue:`16645`)
140
140
- :func:``DataFrame.to_json`` and ``Series.to_json`` now accept an ``index`` argument which allows the user to exclude the index from the JSON output (:issue:`17394`)
141
141
- ``IntervalIndex.to_tuples()`` has gained the ``na_tuple`` parameter to control whether NA is returned as a tuple of NA, or NA itself (:issue:`18756`)
142
+
- ``Categorical.rename_categories``, ``CategoricalIndex.rename_categories`` and :attr:`Series.cat.rename_categories`
143
+
can now take a callable as their argument (:issue:`18862`)
142
144
143
-
.. _whatsnew_0220.api_breaking:
145
+
.. _whatsnew_0230.api_breaking:
144
146
145
147
Backwards incompatible API changes
146
148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147
149
148
-
.. _whatsnew_0220.api_breaking.deps:
150
+
.. _whatsnew_0230.api_breaking.deps:
149
151
150
152
Dependencies have increased minimum versions
151
153
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -169,7 +171,7 @@ Build Changes
169
171
- Building from source now explicity requires ``setuptools`` in ``setup.py`` (:issue:`18113`)
170
172
- Updated conda recipe to be in compliance with conda-build 3.0+ (:issue:`18002`)
171
173
172
-
.. _whatsnew_0220.api:
174
+
.. _whatsnew_0230.api:
173
175
174
176
Other API Changes
175
177
^^^^^^^^^^^^^^^^^
@@ -199,7 +201,7 @@ Other API Changes
199
201
- :func:`pandas.merge` now raises a ``ValueError`` when trying to merge on incompatible data types (:issue:`9780`)
200
202
- :func:`wide_to_long` previously kept numeric-like suffixes as ``object`` dtype. Now they are cast to numeric if possible (:issue:`17627`)
201
203
202
-
.. _whatsnew_0220.deprecations:
204
+
.. _whatsnew_0230.deprecations:
203
205
204
206
Deprecations
205
207
~~~~~~~~~~~~
@@ -213,8 +215,9 @@ Deprecations
213
215
retain the previous behavior, use a list instead of a tuple (:issue:`18314`)
214
216
- ``Series.valid`` is deprecated. Use :meth:`Series.dropna` instead (:issue:`18800`).
215
217
- :func:`read_excel` has deprecated the ``skip_footer`` parameter. Use ``skipfooter`` instead (:issue:`18836`)
218
+
- The ``is_copy`` attribute is deprecated and will be removed in a future version (:issue:`18801`).
216
219
217
-
.. _whatsnew_0220.prior_deprecations:
220
+
.. _whatsnew_0230.prior_deprecations:
218
221
219
222
Removal of prior version deprecations/changes
220
223
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -233,8 +236,9 @@ Removal of prior version deprecations/changes
233
236
- :func:`read_csv` has dropped the ``skip_footer`` parameter (:issue:`13386`)
234
237
- :func:`read_csv` has dropped the ``as_recarray`` parameter (:issue:`13373`)
235
238
- :func:`read_csv` has dropped the ``buffer_lines`` parameter (:issue:`13360`)
239
+
- :func:`read_csv` has dropped the ``compact_ints`` and ``use_unsigned`` parameters (:issue:`13323`)
236
240
237
-
.. _whatsnew_0220.performance:
241
+
.. _whatsnew_0230.performance:
238
242
239
243
Performance Improvements
240
244
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -252,7 +256,7 @@ Performance Improvements
252
256
- Improved performance of ``DatetimeIndex`` and ``Series`` arithmetic operations with Business-Month and Business-Quarter frequencies (:issue:`18489`)
253
257
- :func:`Series` / :func:`DataFrame` tab completion limits to 100 values, for better performance. (:issue:`18587`)
254
258
255
-
.. _whatsnew_0220.docs:
259
+
.. _whatsnew_0230.docs:
256
260
257
261
Documentation Changes
258
262
~~~~~~~~~~~~~~~~~~~~~
@@ -261,7 +265,7 @@ Documentation Changes
261
265
-
262
266
-
263
267
264
-
.. _whatsnew_0220.bug_fixes:
268
+
.. _whatsnew_0230.bug_fixes:
265
269
266
270
Bug Fixes
267
271
~~~~~~~~~
@@ -277,6 +281,7 @@ Conversion
277
281
- Fixed a bug where ``FY5253`` date offsets could incorrectly raise an ``AssertionError`` in arithmetic operatons (:issue:`14774`)
278
282
- Bug in :meth:`Index.astype` with a categorical dtype where the resultant index is not converted to a :class:`CategoricalIndex` for all types of index (:issue:`18630`)
279
283
- Bug in :meth:`Series.astype` and ``Categorical.astype()`` where an existing categorical data does not get updated (:issue:`10696`, :issue:`18593`)
284
+
- Bug in :class:`Series` constructor with an int or float list where specifying ``dtype=str``, ``dtype='str'`` or ``dtype='U'`` failed to convert the data elements to strings (:issue:`16605`)
280
285
281
286
282
287
Indexing
@@ -294,6 +299,8 @@ Indexing
294
299
- Bug in tz-aware :class:`DatetimeIndex` where addition/subtraction with a :class:`TimedeltaIndex` or array with ``dtype='timedelta64[ns]'`` was incorrect (:issue:`17558`)
295
300
- :func:`Index.to_series` now accepts ``index`` and ``name`` kwargs (:issue:`18699`)
296
301
- :func:`DatetimeIndex.to_series` now accepts ``index`` and ``name`` kwargs (:issue:`18699`)
302
+
- Bug in indexing non-scalar value from ``Series`` having non-unique ``Index`` will return value flattened (:issue:`17610`)
303
+
297
304
298
305
I/O
299
306
^^^
@@ -302,13 +309,14 @@ I/O
302
309
- Bug in :func:`read_msgpack` with a non existent file is passed in Python 2 (:issue:`15296`)
303
310
- Bug in :func:`read_csv` where a ``MultiIndex`` with duplicate columns was not being mangled appropriately (:issue:`18062`)
304
311
- Bug in :func:`read_sas` where a file with 0 variables gave an ``AttributeError`` incorrectly. Now it gives an ``EmptyDataError`` (:issue:`18184`)
305
-
-
312
+
- Bug in :func:`DataFrame.to_latex()` where pairs of braces meant to serve as invisible placeholders were escaped (:issue:`18667`)
306
313
-
307
314
308
315
Plotting
309
316
^^^^^^^^
310
317
311
318
- :func: `DataFrame.plot` now raises a ``ValueError`` when the ``x`` or ``y`` argument is improperly formed (:issue:`18671`)
319
+
- Bug in formatting tick labels with ``datetime.time()`` and fractional seconds (:issue:`18478`).
0 commit comments