Skip to content

Doc : update the pandas.Period.minute docstring #20314

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

Conversation

IHackPy
Copy link
Contributor

@IHackPy IHackPy commented Mar 12, 2018

Period.minute

################################################################################
####################### Docstring (pandas.Period.minute) #######################
################################################################################

Get minute of the hour component of the Period.

Returns

int
The minute as an integer, between 0 and 59.

See Also

Period.hour : Get the hour of the Period.
Period.second : Get the second of the Period.

Examples

p = pd.Period("2018-03-11 13:03:12.050000")
p.minute
3

################################################################################
################################## Validation ##################################
################################################################################

@jorisvandenbossche jorisvandenbossche merged commit 591cef5 into pandas-dev:master Mar 12, 2018
@jorisvandenbossche
Copy link
Member

@himanshuawasthi95 Thanks a lot!

@TomAugspurger TomAugspurger added this to the 0.23.0 milestone Mar 12, 2018
@IHackPy
Copy link
Contributor Author

IHackPy commented Mar 13, 2018

thanks @jorisvandenbossche

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants