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
* BUG: Can't store callables using __setitem__
* Use an internal method instead of a new parameter
* Add a docstring, fix pep8 complaints
* Move whatsnew entry to API section
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.2.txt
+1-1
Original file line number
Diff line number
Diff line change
@@ -421,6 +421,7 @@ Other API changes
421
421
- ``TimedeltaIndex.astype(int)`` and ``DatetimeIndex.astype(int)`` will now return ``Int64Index`` instead of ``np.array`` (:issue:`13209`)
422
422
- ``.filter()`` enforces mutual exclusion of the keyword arguments. (:issue:`12399`)
423
423
- ``PeridIndex`` can now accept ``list`` and ``array`` which contains ``pd.NaT`` (:issue:`13430`)
424
+
- ``__setitem__`` will no longer apply a callable rhs as a function instead of storing it. Call ``where`` directly to get the previous behavior. (:issue:`13299`)
424
425
425
426
.. _whatsnew_0182.deprecations:
426
427
@@ -482,7 +483,6 @@ Bug Fixes
482
483
- Bug in ``pd.read_hdf()`` where attempting to load an HDF file with a single dataset, that had one or more categorical columns, failed unless the key argument was set to the name of the dataset. (:issue:`13231`)
483
484
- Bug in ``.rolling()`` that allowed a negative integer window in contruction of the ``Rolling()`` object, but would later fail on aggregation (:issue:`13383`)
484
485
485
-
486
486
- Bug in various index types, which did not propagate the name of passed index (:issue:`12309`)
487
487
- Bug in ``DatetimeIndex``, which did not honour the ``copy=True`` (:issue:`13205`)
488
488
- Bug in ``DatetimeIndex.is_normalized`` returns incorrectly for normalized date_range in case of local timezones (:issue:`13459`)
0 commit comments