Skip to content

Commit

Permalink
switch .freq to ._freq
Browse files Browse the repository at this point in the history
  • Loading branch information
annika-rudolph committed May 10, 2024
1 parent 599613e commit f1e5703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/arrays/datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ def take(

if isinstance(maybe_slice, slice):
freq = self._get_getitem_freq(maybe_slice)
result.freq = freq
result._freq = freq

return result

Expand Down

0 comments on commit f1e5703

Please sign in to comment.