Skip to content

DOC: Enforce Numpy Docstring Validation for DatetimeIndex #58353

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
merged 13 commits into from
Apr 22, 2024

Conversation

gboeker
Copy link
Contributor

@gboeker gboeker commented Apr 21, 2024

Fixed SA01 issues for the following methods:

pandas.DatetimeIndex.quarter
pandas.DatetimeIndex.round
pandas.DatetimeIndex.snap
pandas.DatetimeIndex.std
pandas.DatetimeIndex.time
pandas.DatetimeIndex.timetz
pandas.Series.dt.quarter
pandas.TimedeltaIndex.round
pandas.Series.dt.time
pandas.Series.dt.timetz
pandas.Series.dt.round
pandas.Series.dt.ceil
pandas.DatetimeIndex.floor
pandas.DatetimeIndex.ceil
pandas.TimedeltaIndex.floor
pandas.TimedeltaIndex.ceil

Fixed functions also removed from code_checks.sh

@gboeker gboeker marked this pull request as ready for review April 21, 2024 21:19
@gboeker gboeker requested a review from mroeschke as a code owner April 21, 2024 21:19
@mroeschke mroeschke added this to the 3.0 milestone Apr 22, 2024
@mroeschke mroeschke added the Docs label Apr 22, 2024
@mroeschke mroeschke merged commit 2768a22 into pandas-dev:main Apr 22, 2024
49 of 50 checks passed
@mroeschke
Copy link
Member

Thanks @gboeker

@gboeker gboeker deleted the DatetimeIndex branch April 22, 2024 17:17
kvnwng11 pushed a commit to kvnwng11/pandas that referenced this pull request Apr 22, 2024
…#58353)

* fix line too long

* add return for snap

* undo return

* fix docstring issues for DatetimeIndex.quarter

* remove pandas.Series.dt.quarter from codechecks

* fix docstring issues for DatetimeIndex.round

* fix docstring issues for DatetimeIndex.time

* fix docstring issues for DatetimeIndex.timetz

* add see also for timetz

* fix code check errors

* delete round from code_checks

* fix code check errors
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…#58353)

* fix line too long

* add return for snap

* undo return

* fix docstring issues for DatetimeIndex.quarter

* remove pandas.Series.dt.quarter from codechecks

* fix docstring issues for DatetimeIndex.round

* fix docstring issues for DatetimeIndex.time

* fix docstring issues for DatetimeIndex.timetz

* add see also for timetz

* fix code check errors

* delete round from code_checks

* fix code check errors
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.

2 participants