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.24.0.txt
+11-4
Original file line number
Diff line number
Diff line change
@@ -507,13 +507,15 @@ Other API Changes
507
507
Deprecations
508
508
~~~~~~~~~~~~
509
509
510
-
- :meth:`DataFrame.to_stata`, :meth:`read_stata`, :class:`StataReader` and :class:`StataWriter` have deprecated the ``encoding`` argument. The encoding of a Stata dta file is determined by the file type and cannot be changed (:issue:`21244`).
511
-
- :meth:`MultiIndex.to_hierarchical` is deprecated and will be removed in a future version (:issue:`21613`)
510
+
- :meth:`DataFrame.to_stata`, :meth:`read_stata`, :class:`StataReader` and :class:`StataWriter` have deprecated the ``encoding`` argument. The encoding of a Stata dta file is determined by the file type and cannot be changed (:issue:`21244`)
511
+
- :meth:`MultiIndex.to_hierarchical` is deprecated and will be removed in a future version (:issue:`21613`)
512
512
- :meth:`Series.ptp` is deprecated. Use ``numpy.ptp`` instead (:issue:`21614`)
513
513
- :meth:`Series.compress` is deprecated. Use ``Series[condition]`` instead (:issue:`18262`)
514
514
- The signature of :meth:`Series.to_csv` has been uniformed to that of doc:meth:`DataFrame.to_csv`: the name of the first argument is now 'path_or_buf', the order of subsequent arguments has changed, the 'header' argument now defaults to True. (:issue:`19715`)
515
515
- :meth:`Categorical.from_codes` has deprecated providing float values for the ``codes`` argument. (:issue:`21767`)
516
516
- :func:`pandas.read_table` is deprecated. Instead, use :func:`pandas.read_csv` passing ``sep='\t'`` if necessary (:issue:`21948`)
517
+
- :meth:`Series.str.cat` has deprecated using arbitrary list-likes *within* list-likes. A list-like container may still contain
518
+
many ``Series``, ``Index`` or 1-dimensional ``np.ndarray``, or alternatively, only scalar values. (:issue:`21950`)
517
519
518
520
.. _whatsnew_0240.prior_deprecations:
519
521
@@ -525,6 +527,7 @@ Removal of prior version deprecations/changes
525
527
- Several private functions were removed from the (non-public) module ``pandas.core.common`` (:issue:`22001`)
526
528
- Removal of the previously deprecated module ``pandas.core.datetools`` (:issue:`14105`, :issue:`14094`)
527
529
- Strings passed into :meth:`DataFrame.groupby` that refer to both column and index levels will raise a ``ValueError`` (:issue:`14432`)
530
+
- :meth:`Index.repeat` and :meth:`MultiIndex.repeat` have renamed the ``n`` argument to ``repeats``(:issue:`14645`)
528
531
-
529
532
530
533
.. _whatsnew_0240.performance:
@@ -582,6 +585,7 @@ Datetimelike
582
585
- Bug in :class:`DataFrame` comparisons against ``Timestamp``-like objects failing to raise ``TypeError`` for inequality checks with mismatched types (:issue:`8932`,:issue:`22163`)
583
586
- Bug in :class:`DataFrame` with mixed dtypes including ``datetime64[ns]`` incorrectly raising ``TypeError`` on equality comparisons (:issue:`13128`,:issue:`22163`)
584
587
- Bug in :meth:`DataFrame.eq` comparison against ``NaT`` incorrectly returning ``True`` or ``NaN`` (:issue:`15697`,:issue:`22163`)
588
+
- Bug in :class:`DatetimeIndex` subtraction that incorrectly failed to raise `OverflowError` (:issue:`22492`, :issue:`22508`)
585
589
586
590
Timedelta
587
591
^^^^^^^^^
@@ -663,6 +667,7 @@ Indexing
663
667
- Fixed ``DataFrame[np.nan]`` when columns are non-unique (:issue:`21428`)
664
668
- Bug when indexing :class:`DatetimeIndex` with nanosecond resolution dates and timezones (:issue:`11679`)
665
669
- Bug where indexing with a Numpy array containing negative values would mutate the indexer (:issue:`21867`)
670
+
- Bug where mixed indexes wouldn't allow integers for ``.at`` (:issue:`19860`)
666
671
- ``Float64Index.get_loc`` now raises ``KeyError`` when boolean key passed. (:issue:`19087`)
667
672
668
673
Missing
@@ -703,6 +708,7 @@ Groupby/Resample/Rolling
703
708
- Multiple bugs in :func:`pandas.core.Rolling.min` with ``closed='left'` and a
704
709
datetime-like index leading to incorrect results and also segfault. (:issue:`21704`)
705
710
- Bug in :meth:`Resampler.apply` when passing postiional arguments to applied func (:issue:`14615`).
711
+
- Bug in :meth:`Series.resample` when passing ``numpy.timedelta64`` to `loffset` kwarg (:issue:`7687`).
706
712
707
713
Sparse
708
714
^^^^^^
@@ -735,9 +741,10 @@ Build Changes
735
741
Other
736
742
^^^^^
737
743
738
-
- :meth:`~pandas.io.formats.style.Styler.background_gradient` now takes a ``text_color_threshold`` parameter to automatically lighten the text color based on the luminance of the background color. This improves readability with dark background colors without the need to limit the background colormap range. (:issue:`21258`)
744
+
- :meth:`~pandas.io.formats.style.Styler.background_gradient` now takes a ``text_color_threshold`` parameter to automatically lighten the text color based on the luminance of the background color. This improves readability with dark background colors without the need to limit the background colormap range. (:issue:`21258`)
739
745
- Require at least 0.28.2 version of ``cython`` to support read-only memoryviews (:issue:`21688`)
740
-
- :meth: `~pandas.io.formats.style.Styler.background_gradient` now also supports tablewise application (in addition to rowwise and columnwise) with ``axis=None`` (:issue:`15204`)
746
+
- :meth:`~pandas.io.formats.style.Styler.background_gradient` now also supports tablewise application (in addition to rowwise and columnwise) with ``axis=None`` (:issue:`15204`)
747
+
- :meth:`~pandas.io.formats.style.Styler.bar` now also supports tablewise application (in addition to rowwise and columnwise) with ``axis=None`` and setting clipping range with ``vmin`` and ``vmax`` (:issue:`21548` and :issue:`21526`). ``NaN`` values are also handled properly.
0 commit comments