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: This fixes a number of inconsistencies and API issues
w.r.t. dtype conversions.
This is a reprise of pandas-dev#14145 & pandas-dev#16408.
This removes some code from the core structures & pushes it to internals,
where the primitives are made more consistent.
This should all us to be a bit more consistent for pandas2 type things.
closespandas-dev#16402
supersedes pandas-dev#14145closespandas-dev#14001
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.21.0.txt
+12
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,18 @@ Backwards incompatible API changes
54
54
- :class:`pandas.HDFStore`'s string representation is now faster and less detailed. For the previous behavior, use ``pandas.HDFStore.info()``. (:issue:`16503`).
55
55
- Compression defaults in HDF stores now follow pytable standards. Default is no compression and if ``complib`` is missing and ``complevel`` > 0 ``zlib`` is used (:issue:`15943`)
56
56
57
+
.. _whatsnew_0210.dtype_conversions:
58
+
59
+
Dtype Conversions
60
+
^^^^^^^^^^^^^^^^^
61
+
62
+
Example about setitem / where with bools.
63
+
64
+
65
+
66
+
- Inconsistent behavior in ``.where()`` with datetimelikes which would raise rather than coerce to ``object`` (:issue:`16402`)
67
+
- Bug in assignment against datetime-like data with ``int`` may incorrectly convert to datetime-like (:issue:`14145`)
68
+
- Bug in assignment against ``int64`` data with ``np.ndarray`` with ``float64`` dtype may keep ``int64`` dtype (:issue:`14001`)
0 commit comments