Skip to content

DOC: DatetimeIndex accepts name param #5722

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

Merged
1 commit merged into from
Dec 17, 2013

Conversation

TomAugspurger
Copy link
Contributor

Just a docstring change to reflect DatetimeIndex taking a name parameter. I added a test since it wasn't explicitly tested anywhere.

In [1]: from pandas import DatetimeIndex

In [2]: idx = DatetimeIndex(start='2000-01-01', periods=1, freq='A', name='TEST')

In [3]: idx.name
Out[3]: 'TEST'

ghost pushed a commit that referenced this pull request Dec 17, 2013
@ghost ghost merged commit 39a12ef into pandas-dev:master Dec 17, 2013
@ghost
Copy link

ghost commented Dec 17, 2013

cheers.

@TomAugspurger TomAugspurger deleted the datetimeIndex-name-doc branch November 3, 2016 12:37
This pull request was closed.
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.

1 participant