Skip to content

Pass kwargs through for overridden pandas methods - #121

Merged
frances-h merged 3 commits into
masterfrom
pandas-kwargs
Apr 15, 2020
Merged

frances-h merged 3 commits into
masterfrom
pandas-kwargs

Conversation

@frances-h

Copy link
Copy Markdown
Contributor

For Pandas DataFrame methods that LabelTimes overrides, passes extra keyword arguments to the underlying Pandas method

Closes #117

@CLAassistant

CLAassistant commented Apr 15, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov

codecov Bot commented Apr 15, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #121 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #121   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          820       820           
=========================================
  Hits           820       820           
Impacted Files Coverage Δ
composeml/label_times.py 100.00% <100.00%> (ø)

@jeff-hernandez jeff-hernandez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we add kwargs to the docstring? Other than that, I think it looks good.

@jeff-hernandez
jeff-hernandez self-requested a review April 15, 2020 19:45

@jeff-hernandez jeff-hernandez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good!

@frances-h
frances-h merged commit e465400 into master Apr 15, 2020
@frances-h
frances-h deleted the pandas-kwargs branch April 15, 2020 19:52
@jeff-hernandez jeff-hernandez mentioned this pull request Apr 23, 2020
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.

TypeError when optional args passed to overridden DataFrame methods

3 participants