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
When a DataFrame's integer slice is partially updated with a new slice of floats that
410
-
could potentially be downcasted to integer without losing precision,
411
-
the dtype of the slice will be set to float instead of integer.
404
+
When a DataFrame's integer slice is partially updated with a new slice of floats that could potentially be downcasted to integer without losing precision, the dtype of the slice will be set to float instead of integer.
412
405
413
406
Previous Behavior:
414
407
415
408
.. code-block:: python
416
409
417
410
In [4]: df = pd.DataFrame(np.array(range(1,10)).reshape(3,3),
- Bug in ``DataFrame.apply`` in which reduction was not being prevented for cases in which ``dtype`` was not a numpy dtype (:issue:`12244`)
1203
1196
- Bug when initializing categorical series with a scalar value. (:issue:`12336`)
1204
1197
- Bug when specifying a UTC ``DatetimeIndex`` by setting ``utc=True`` in ``.to_datetime`` (:issue:`11934`)
1205
-
- Bug when modifying a slice of a ``DataFrame`` with the same ``dtype``, the ``dtype`` of the ``DataFrame`` could unexpected changed. (:issue:`10503`).
0 commit comments