Skip to content

Conversation

@jhamman
Copy link
Member

@jhamman jhamman commented May 16, 2018

cc @spencerkclark and @shoyer

:toctree: generated/

CFTimeIndex

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open to suggestions on where to put this and what to call the heading.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine for now.



class CFTimeIndex(pd.Index):
"""Custom Index for working with CF calendars and dates """
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add something like "All elements of a CFTimeIndex must be cftime.datetime objects."

Copy link
Member

@spencerkclark spencerkclark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jhamman and @shoyer, this looks good to me too.

@jhamman jhamman merged commit 4972dfd into pydata:master May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exposing/documenting CFTimeIndex as public API

3 participants