Skip to content

Pandas.io.formats.style.Styler docstring PR02 #28539

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

Conversation

Genza999
Copy link
Contributor

Solves:

  • Unknown parameters {kwargs} in apply method in Styler class
  • Unknown parameters {kwargs} in applymap method in Styler class
  • Unknown parameters {kwargs} in where method in Styler class
  • Unknown parameters {low, high} in background_gradient method in Styler class
  • Unknown parameters {kwargs} in set_properties method in Styler class
  • Unknown parameters {*args, **kwargs :} in pipe method in Styler class

for issues:

pandas.io.formats.style.Styler.apply: Unknown parameters {kwargs}
pandas.io.formats.style.Styler.applymap: Unknown parameters {kwargs}
pandas.io.formats.style.Styler.where: Unknown parameters {kwargs}
pandas.io.formats.style.Styler.set_properties: Unknown parameters {kwargs}
pandas.io.formats.style.Styler.pipe: Unknown parameters {*args, **kwargs :}
pandas.io.formats.style.Styler.background_gradient: Unknown parameters {low, high}

all in #27976

Arguments passed to `func`.
**kwargs : dict, optional
A dictionary of keyword arguments passed into ``func``.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like there are too many newlines here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @jbrockmendel, I have removed the extra new line that was added.

- replace kwargs with **kwargs in apply method in Styler class
- replace kwargs with **kwargs in applymap method in Styler class
- replace kwargs with **kwargs in where method in Styler class
- separate low and high parameters onto different lines and provide invidivual descriptions for both
- replace kwargs with **kwargs in set_properties method in Styler class
- separate args and kwargs parameters onto different lines and provide invidivual descriptions for both
@Genza999 Genza999 force-pushed the pandas.io.formats.style.Styler_docstring_PR02 branch from 94c81b6 to ac510f9 Compare September 20, 2019 11:27
@jreback jreback added the Docs label Sep 20, 2019
@jreback jreback added this to the 1.0 milestone Sep 20, 2019
@jreback jreback merged commit 7ab5d3e into pandas-dev:master Sep 20, 2019
@jreback
Copy link
Contributor

jreback commented Sep 20, 2019

thanks @Genza999 this doesn't fully close #27976 right?

@Genza999
Copy link
Contributor Author

thanks @Genza999 this doesn't fully close #27976 right?

No it doesnt @jreback , it just covers a few of the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants