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
API, DEPR: Raise and Deprecate Reshape for Pandas Objects
Author: gfyoung <[email protected]>
Closespandas-dev#13012 from gfyoung/categorical-reshape-validate and squashes the following commits:
3ad161d [gfyoung] API: Prevent invalid arguments to Categorical.reshape
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.19.0.txt
+3
Original file line number
Diff line number
Diff line change
@@ -256,6 +256,7 @@ API changes
256
256
~~~~~~~~~~~
257
257
258
258
259
+
- ``Index.reshape`` will raise a ``NotImplementedError`` exception when called (:issue: `12882`)
259
260
- Non-convertible dates in an excel date column will be returned without conversion and the column will be ``object`` dtype, rather than raising an exception (:issue:`10001`)
260
261
- ``eval``'s upcasting rules for ``float32`` types have been updated to be more consistent with NumPy's rules. New behavior will not upcast to ``float64`` if you multiply a pandas ``float32`` object by a scalar float64. (:issue:`12388`)
261
262
- An ``UnsupportedFunctionCall`` error is now raised if NumPy ufuncs like ``np.mean`` are called on groupby or resample objects (:issue:`12811`)
@@ -449,6 +450,8 @@ Furthermore:
449
450
450
451
Deprecations
451
452
^^^^^^^^^^^^
453
+
- ``Categorical.reshape`` has been deprecated and will be removed in a subsequent release (:issue:`12882`)
454
+
- ``Series.reshape`` has been deprecated and will be removed in a subsequent release (:issue:`12882`)
452
455
453
456
- ``compact_ints`` and ``use_unsigned`` have been deprecated in ``pd.read_csv()`` and will be removed in a future version (:issue:`13320`)
454
457
- ``buffer_lines`` has been deprecated in ``pd.read_csv()`` and will be removed in a future version (:issue:`13360`)
0 commit comments