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 14, 2024
1 parent 6b1d8ef commit 2dff5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/arrays/datetimelike.py
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 2dff5b7

Please sign in to comment.