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/whatsnew/v0.23.0.txt
+2
Original file line number
Diff line number
Diff line change
@@ -450,6 +450,7 @@ Other Enhancements
450
450
- Updated :meth:`DataFrame.to_gbq` and :meth:`pandas.read_gbq` signature and documentation to reflect changes from
451
451
the Pandas-GBQ library version 0.4.0. Adds intersphinx mapping to Pandas-GBQ
452
452
library. (:issue:`20564`)
453
+
- :meth:`DatetimeIndex.set_freq` and :meth:`TimedeltaIndex.set_freq` are now available for setting the ``.freq`` attribute (:issue:`20886`)
453
454
454
455
.. _whatsnew_0230.api_breaking:
455
456
@@ -893,6 +894,7 @@ Deprecations
893
894
- Setting ``PeriodIndex.freq`` (which was not guaranteed to work correctly) is deprecated. Use :meth:`PeriodIndex.asfreq` instead (:issue:`20678`)
894
895
- ``Index.get_duplicates()`` is deprecated and will be removed in a future version (:issue:`20239`)
895
896
- The previous default behavior of negative indices in ``Categorical.take`` is deprecated. In a future version it will change from meaning missing values to meaning positional indices from the right. The future behavior is consistent with :meth:`Series.take` (:issue:`20664`).
897
+
- Setting the ``.freq`` attribute is deprecated for :class:`DatetimeIndex` and :class:`TimedeltaIndex`. Use the associated ``.set_freq()`` method instead (:issue:`20886`)
0 commit comments