Pandas: DOC: DatetimeIndex day says the same as month

Created on 3 Jun 2020  ·  9Comments  ·  Source: pandas-dev/pandas

Location of the documentation

https://pandas.pydata.org/docs/reference/api/pandas.DatetimeIndex.day.html#pandas.DatetimeIndex.day

Documentation problem

Right now it says the same as month, The month as of January=1, December=12

Suggested fix for documentation

Something along the lines of Day of the month, from 1 through 31

Docs good first issue

All 9 comments

Sounds good - are you interested in submitting a pull request?

Hi guys, if there's a chance, I can submit the PR.

Hey @raphacosta27 - sure, PRs are welcome! Just for reference, if you comment 'take', the issue will be assigned to you

Hi guys

Minor note, but in general we encourage inclusive behavior - for example, please don’t say “hey guys!” but “hey everyone!” (see https://github.com/pandas-dev/pandas/blob/master/web/pandas/community/coc.md)

@raphacosta27 are you still working on this? Else I would like too.

@raphacosta27 are you still working on this? Else I would like too.

Hi there! I'm out of time, please, go ahead and take it.

take

@erfannariman are you still working on this? Else I am interested in taking this

Yes, I will take some time to submit a MR this week, if I didn't have time, you can take over after that. @kishvanchee

Looks like this was already fixed in #31490. Indeed, the development version of the docs looks correct - https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.DatetimeIndex.day.html?highlight=datetimeindex%20day#pandas.DatetimeIndex.day

Sorry @erfannariman for not having picked up on this sooner

Was this page helpful?
0 / 5 - 0 ratings