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 15, 2024
1 parent a5df378 commit 6a2649b
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 6a2649b

Please sign in to comment.