-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Exposing/documenting CFTimeIndex as public API #2140
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
Potentially it would also make sense to add a specialized constructor that is an alias for wrapping |
I'd like to see a utility that adds a calendar argument to pandas' |
I'm working on the doc update now. |
Great, thanks @jhamman |
I think we expose
CFTimeIndex
as public API, as eitherxarray.CFTimeIndex
orxarray.coding.CFTimeIndex
. Otherwise the only way to make this thing is by putting cftime datetime objects into an xarray object, and/or users will start importing it fromxarray.coding.cftimeindex
.We should also add it to the API docs, for which it will need at least a minimally informative docstring, too.
CC @spencerkclark @jhamman
The text was updated successfully, but these errors were encountered: