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
I'm ok with not deprecating, but I have a few comments:
Just because they're used a lot doesn't mean they're used correctly and I would argue that weekofyear could lead to a lot of hidden issues. That is, people don't realize that it's the ISO week and might not realize that year doesn't always match up with it. Indeed a quick search through the issues here yields a number of reported "bugs". By deprecating, it becomes harder to mess up: you would force people to actively choose the ISO calendar. Also, if they need a week with some other definition (starting on e.g. Sunday), then they can use the period functionality to do this.
Regarding slowness, if this is an issue than maybe it could be addressed some other way (e.g. caching).
Now that
isocalendar
is available onTimestamp
,DatetimeIndex
and thedt
accessor,weekofyear
already exists inisocalendar
and can be deprecated.The text was updated successfully, but these errors were encountered: