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/user_guide/cookbook.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -1410,7 +1410,7 @@ Often it's useful to obtain the lower (or upper) triangular form of a correlatio
1410
1410
1411
1411
corr_mat.where(mask)
1412
1412
1413
-
The ``method`` argument within ``DataFrame.corr`` can accept a callable in addition to the named correlation types. Here we compute the ``distance correlation <https://en.wikipedia.org/wiki/Distance_correlation>``__ matrix for a ``DataFrame`` object.
1413
+
The ``method`` argument within ``DataFrame.corr`` can accept a callable in addition to the named correlation types. Here we compute the `distance correlation <https://en.wikipedia.org/wiki/Distance_correlation>`__ matrix for a ``DataFrame`` object.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -1755,8 +1755,8 @@ Missing
1755
1755
1756
1756
- Bug in :func:`DataFrame.fillna` where a ``ValueError`` would raise when one column contained a ``datetime64[ns, tz]`` dtype (:issue:`15522`)
1757
1757
- Bug in :func:`Series.hasnans` that could be incorrectly cached and return incorrect answers if null elements are introduced after an initial call (:issue:`19700`)
1758
-
- :func:`Series.isin` now treats all NaN-floats as equal also for ``np.object``-dtype. This behavior is consistent with the behavior for float64 (:issue:`22119`)
1759
-
- :func:`unique` no longer mangles NaN-floats and the ``NaT``-object for ``np.object``-dtype, i.e. ``NaT`` is no longer coerced to a NaN-value and is treated as a different entity. (:issue:`22295`)
1758
+
- :func:`Series.isin` now treats all NaN-floats as equal also for ``np.object_``-dtype. This behavior is consistent with the behavior for float64 (:issue:`22119`)
1759
+
- :func:`unique` no longer mangles NaN-floats and the ``NaT``-object for ``np.object_``-dtype, i.e. ``NaT`` is no longer coerced to a NaN-value and is treated as a different entity. (:issue:`22295`)
1760
1760
- :class:`DataFrame` and :class:`Series` now properly handle numpy masked arrays with hardened masks. Previously, constructing a DataFrame or Series from a masked array with a hard mask would create a pandas object containing the underlying value, rather than the expected NaN. (:issue:`24574`)
1761
1761
- Bug in :class:`DataFrame` constructor where ``dtype`` argument was not honored when handling numpy masked record arrays. (:issue:`24874`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.2.3.rst
+9-2
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,15 @@ including other versions of pandas.
15
15
Fixed regressions
16
16
~~~~~~~~~~~~~~~~~
17
17
18
-
- Fixed regression in :func:`pandas.to_excel` raising ``KeyError`` when giving duplicate columns with ``columns`` attribute (:issue:`39695`)
19
-
-
18
+
- Fixed regression in :meth:`~DataFrame.to_excel` raising ``KeyError`` when giving duplicate columns with ``columns`` attribute (:issue:`39695`)
19
+
- Fixed regression in nullable integer unary ops propagating mask on assignment (:issue:`39943`)
20
+
- Fixed regression in :meth:`DataFrame.__setitem__` not aligning :class:`DataFrame` on right-hand side for boolean indexer (:issue:`39931`)
21
+
- Fixed regression in :meth:`~DataFrame.to_json` failing to use ``compression`` with URL-like paths that are internally opened in binary mode or with user-provided file objects that are opened in binary mode (:issue:`39985`)
22
+
- Fixed regression in :meth:`~Series.sort_index` and :meth:`~DataFrame.sort_index`,
23
+
which exited with an ungraceful error when having kwarg ``ascending=None`` passed (:issue:`39434`).
24
+
Passing ``ascending=None`` is still considered invalid,
25
+
and the new error message suggests a proper usage
26
+
(``ascending`` must be a boolean or a list-like boolean).
0 commit comments