-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
CLN: make PeriodArray signature match DTA/TDA #37289
CLN: make PeriodArray signature match DTA/TDA #37289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm can you add a note in ExtensionArray section just to document that it is changing
@@ -148,7 +148,7 @@ class PeriodArray(PeriodMixin, dtl.DatelikeOps): | |||
# -------------------------------------------------------------------- | |||
# Constructors | |||
|
|||
def __init__(self, values, freq=None, dtype=None, copy=False): | |||
def __init__(self, values, dtype=None, freq=None, copy=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should consider making optional values keyword only generally (let's create an issue / discussion point)
lgtm merge on green-ish |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff