Skip to content

DOCS: fix docstring validation error for pandas.Series #59655

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

Closed
wants to merge 4 commits into from

Conversation

githubalexliu
Copy link
Contributor

Partially addresses #59592

Fixes

-i "pandas.Series.dt.normalize PR01" \
-i "pandas.Series.dt.qyear GL08" \

@@ -1141,7 +1142,7 @@ def to_pydatetime(self) -> npt.NDArray[np.object_]:
"""
return ints_to_pydatetime(self.asi8, tz=self.tz, reso=self._creso)

def normalize(self) -> Self:
def normalize(self, *args, **kwargs) -> Self:
Copy link
Member

Choose a reason for hiding this comment

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

There is no normalize numpy function as far as I know so this should not be included

@@ -1919,6 +1929,50 @@ def isocalendar(self) -> DataFrame:
Index([1, 1], dtype='int32')
""",
)
qyear = _field_accessor(
"qyear",
"qy",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"qy",
"qyear",

"qy" is not a valid field.

@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Oct 10, 2024
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.

3 participants