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
@@ -672,7 +691,7 @@ Optional libraries below the lowest tested version may still work, but are not c
672
691
673
692
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
674
693
675
-
.. _whatsnew_130.api.other:
694
+
.. _whatsnew_130.api_breaking.other:
676
695
677
696
Other API changes
678
697
^^^^^^^^^^^^^^^^^
@@ -682,9 +701,10 @@ Other API changes
682
701
- Removed redundant ``freq`` from :class:`PeriodIndex` string representation (:issue:`41653`)
683
702
- :meth:`ExtensionDtype.construct_array_type` is now a required method instead of an optional one for :class:`ExtensionDtype` subclasses (:issue:`24860`)
684
703
704
+
.. _whatsnew_130.api_breaking.build:
705
+
685
706
Build
686
707
^^^^^
687
-
688
708
- Documentation in ``.pptx`` and ``.pdf`` formats are no longer included in wheels or source distributions. (:issue:`30741`)
Calling a reduction (e.g. ``.min``, ``.max``, ``.sum``) on a :class:`DataFrame` with
760
780
``numeric_only=None`` (the default), columns where the reduction raises a ``TypeError``
761
781
are silently ignored and dropped from the result.
@@ -903,7 +923,6 @@ Timezones
903
923
^^^^^^^^^
904
924
- Bug in different ``tzinfo`` objects representing UTC not being treated as equivalent (:issue:`39216`)
905
925
- Bug in ``dateutil.tz.gettz("UTC")`` not being recognized as equivalent to other UTC-representing tzinfos (:issue:`39276`)
906
-
-
907
926
908
927
Numeric
909
928
^^^^^^^
@@ -939,7 +958,6 @@ Conversion
939
958
940
959
Strings
941
960
^^^^^^^
942
-
943
961
- Bug in the conversion from ``pyarrow.ChunkedArray`` to :class:`~arrays.StringArray` when the original had zero chunks (:issue:`41040`)
944
962
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` ignoring replacements with ``regex=True`` for ``StringDType`` data (:issue:`41333`, :issue:`35977`)
945
963
- Bug in :meth:`Series.str.extract` with :class:`~arrays.StringArray` returning object dtype for an empty :class:`DataFrame` (:issue:`41441`)
@@ -955,7 +973,6 @@ Interval
955
973
956
974
Indexing
957
975
^^^^^^^^
958
-
959
976
- Bug in :meth:`Index.union` and :meth:`MultiIndex.union` dropping duplicate ``Index`` values when ``Index`` was not monotonic or ``sort`` was set to ``False`` (:issue:`36289`, :issue:`31326`, :issue:`40862`)
960
977
- Bug in :meth:`CategoricalIndex.get_indexer` failing to raise ``InvalidIndexError`` when non-unique (:issue:`38372`)
961
978
- Bug in :meth:`Series.loc` raising a ``ValueError`` when input was filtered with a Boolean list and values to set were a list with lower dimension (:issue:`20438`)
@@ -998,7 +1015,6 @@ Indexing
998
1015
999
1016
Missing
1000
1017
^^^^^^^
1001
-
1002
1018
- Bug in :class:`Grouper` did not correctly propagate the ``dropna`` argument; :meth:`.DataFrameGroupBy.transform` now correctly handles missing values for ``dropna=True`` (:issue:`35612`)
1003
1019
- Bug in :func:`isna`, :meth:`Series.isna`, :meth:`Index.isna`, :meth:`DataFrame.isna`, and the corresponding ``notna`` functions not recognizing ``Decimal("NaN")`` objects (:issue:`39409`)
1004
1020
- Bug in :meth:`DataFrame.fillna` not accepting a dictionary for the ``downcast`` keyword (:issue:`40809`)
@@ -1007,7 +1023,6 @@ Missing
1007
1023
1008
1024
MultiIndex
1009
1025
^^^^^^^^^^
1010
-
1011
1026
- Bug in :meth:`DataFrame.drop` raising a ``TypeError`` when the :class:`MultiIndex` is non-unique and ``level`` is not provided (:issue:`36293`)
1012
1027
- Bug in :meth:`MultiIndex.intersection` duplicating ``NaN`` in the result (:issue:`38623`)
1013
1028
- Bug in :meth:`MultiIndex.equals` incorrectly returning ``True`` when the :class:`MultiIndex` contained ``NaN`` even when they are differently ordered (:issue:`38439`)
@@ -1017,7 +1032,6 @@ MultiIndex
1017
1032
1018
1033
I/O
1019
1034
^^^
1020
-
1021
1035
- Bug in :meth:`Index.__repr__` when ``display.max_seq_items=1`` (:issue:`38415`)
1022
1036
- Bug in :func:`read_csv` not recognizing scientific notation if the argument ``decimal`` is set and ``engine="python"`` (:issue:`31920`)
1023
1037
- Bug in :func:`read_csv` interpreting ``NA`` value as comment, when ``NA`` does contain the comment string fixed for ``engine="python"`` (:issue:`34002`)
@@ -1056,19 +1070,15 @@ I/O
1056
1070
Period
1057
1071
^^^^^^
1058
1072
- Comparisons of :class:`Period` objects or :class:`Index`, :class:`Series`, or :class:`DataFrame` with mismatched ``PeriodDtype`` now behave like other mismatched-type comparisons, returning ``False`` for equals, ``True`` for not-equal, and raising ``TypeError`` for inequality checks (:issue:`39274`)
1059
-
-
1060
-
-
1061
1073
1062
1074
Plotting
1063
1075
^^^^^^^^
1064
-
1065
1076
- Bug in :func:`plotting.scatter_matrix` raising when 2d ``ax`` argument passed (:issue:`16253`)
1066
1077
- Prevent warnings when Matplotlib's ``constrained_layout`` is enabled (:issue:`25261`)
1067
1078
- Bug in :func:`DataFrame.plot` was showing the wrong colors in the legend if the function was called repeatedly and some calls used ``yerr`` while others didn't (:issue:`39522`)
1068
1079
- Bug in :func:`DataFrame.plot` was showing the wrong colors in the legend if the function was called repeatedly and some calls used ``secondary_y`` and others use ``legend=False`` (:issue:`40044`)
1069
1080
- Bug in :meth:`DataFrame.plot.box` when ``dark_background`` theme was selected, caps or min/max markers for the plot were not visible (:issue:`40769`)
1070
1081
1071
-
1072
1082
Groupby/resample/rolling
1073
1083
^^^^^^^^^^^^^^^^^^^^^^^^
1074
1084
- Bug in :meth:`.GroupBy.agg` with :class:`PeriodDtype` columns incorrectly casting results too aggressively (:issue:`38254`)
@@ -1140,22 +1150,19 @@ Reshaping
1140
1150
1141
1151
Sparse
1142
1152
^^^^^^
1143
-
1144
1153
- Bug in :meth:`DataFrame.sparse.to_coo` raising a ``KeyError`` with columns that are a numeric :class:`Index` without a ``0`` (:issue:`18414`)
1145
1154
- Bug in :meth:`SparseArray.astype` with ``copy=False`` producing incorrect results when going from integer dtype to floating dtype (:issue:`34456`)
1146
1155
- Bug in :meth:`SparseArray.max` and :meth:`SparseArray.min` would always return an empty result (:issue:`40921`)
1147
1156
1148
1157
ExtensionArray
1149
1158
^^^^^^^^^^^^^^
1150
-
1151
1159
- Bug in :meth:`DataFrame.where` when ``other`` is a Series with an :class:`ExtensionDtype` (:issue:`38729`)
1152
1160
- Fixed bug where :meth:`Series.idxmax`, :meth:`Series.idxmin`, :meth:`Series.argmax`, and :meth:`Series.argmin` would fail when the underlying data is an :class:`ExtensionArray` (:issue:`32749`, :issue:`33719`, :issue:`36566`)
1153
1161
- Fixed bug where some properties of subclasses of :class:`PandasExtensionDtype` where improperly cached (:issue:`40329`)
1154
1162
- Bug in :meth:`DataFrame.mask` where masking a DataFrame with an :class:`ExtensionDtype` raises a ``ValueError`` (:issue:`40941`)
1155
1163
1156
1164
Styler
1157
1165
^^^^^^
1158
-
1159
1166
- Bug in :class:`.Styler` where the ``subset`` argument in methods raised an error for some valid MultiIndex slices (:issue:`33562`)
1160
1167
- :class:`.Styler` rendered HTML output has seen minor alterations to support w3 good code standards (:issue:`39626`)
1161
1168
- Bug in :class:`.Styler` where rendered HTML was missing a column class identifier for certain header cells (:issue:`39716`)
@@ -1165,7 +1172,6 @@ Styler
1165
1172
- Bug in :class:`Styler.where` where ``kwargs`` were not passed to the applicable callable (:issue:`40845`)
1166
1173
- Bug in :class:`.Styler` causing CSS to duplicate on multiple renders (:issue:`39395`, :issue:`40334`)
1167
1174
1168
-
1169
1175
Other
1170
1176
^^^^^
1171
1177
- Bug in :class:`Index` constructor sometimes silently ignoring a specified ``dtype`` (:issue:`38879`)
0 commit comments