-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
list of day-light savings days #26160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @mroeschke Not aware of a one-shot way either. As for your proposal, I'm uncertain of the degree of use that such functionality would get vs. the maintenance efforts involved. If you do have an implementation, feel free to share it here though. |
@gfyoung I was wondering of possibly including a function like the one given below in pandas.core.indexes.datetimes. Not including all the necessary tests and accompaniments of course.
To be honest, this was also my idea of making a first contribution to the pandas codebase (or to any major project for that matter). If it isn't worth the effort, never mind, but if it might be a nice extra feature, then I'd welcome any thoughts and suggestions. |
see #22560; this method was rejected as not generally that useful for user facing operations as tz's are complicated. In any event it is pretty easy to generically do this (your method about is not very generic).
|
Would it be useful to add a feature that returns a list of days within a given time interval where the clock changes due to daylight savings? Personally, I've had occasion to find such days/dates as part of my work. I do not know of a one-shot way with which to do so in pandas at the moment. I'd be happy to contribute this functionality as an enhancement if there is some interest.
The text was updated successfully, but these errors were encountered: