Skip to content

DOC/BUG: Enforce that freq is required in Period.now #49134

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 1 commit into from
Oct 17, 2022

Conversation

bashtage
Copy link
Contributor

@bashtage
Copy link
Contributor Author

xref pandas-dev/pandas-stubs#383

Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

This changes the API?

@bashtage
Copy link
Contributor Author

No. It looks optional but if not provided it raises. This just makes it crystal clear that it is required.

@phofl
Copy link
Member

phofl commented Oct 17, 2022

Got it, thx. Could you fix pre-commit?

@phofl phofl added this to the 2.0 milestone Oct 17, 2022
@phofl phofl added the Docs label Oct 17, 2022
@bashtage bashtage force-pushed the doc-fixes-from-stubs-v2 branch from c7851a6 to 8fd5dee Compare October 17, 2022 15:06
@mroeschke mroeschke added the Period Period data type label Oct 17, 2022
@bashtage
Copy link
Contributor Author

@phofl Code check is fixed.

@phofl phofl merged commit 68e6d91 into pandas-dev:main Oct 17, 2022
@phofl
Copy link
Member

phofl commented Oct 17, 2022

thx @bashtage

noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants