Skip to content
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

Merged
merged 3 commits into from
Oct 21, 2020

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

Copy link
Contributor

@jreback jreback left a 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

@jreback jreback added API - Consistency Internal Consistency of API/Behavior Period Period data type labels Oct 20, 2020
@jreback jreback added this to the 1.2 milestone Oct 20, 2020
@@ -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):
Copy link
Contributor

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)

@jreback
Copy link
Contributor

jreback commented Oct 20, 2020

lgtm merge on green-ish

@jreback jreback merged commit 7e62f07 into pandas-dev:master Oct 21, 2020
@jbrockmendel jbrockmendel deleted the cln-periodarray-signature branch October 21, 2020 15:19
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Oct 26, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API - Consistency Internal Consistency of API/Behavior Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants