Skip to content

DOC: Remove repeated column assignment in visualization doc #39770

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
Feb 12, 2021

Conversation

paw-lu
Copy link
Contributor

@paw-lu paw-lu commented Feb 12, 2021

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

The visualization doc had an example where a column in a DataFrame is repeatedly assigned.

df["b"] = df["b"] = df["b"] + np.arange(1000)

The expression has been simplified.


Thanks for helping to maintain the library!

@jorisvandenbossche jorisvandenbossche changed the title Remove repeated column assignment in visualization doc DOC: Remove repeated column assignment in visualization doc Feb 12, 2021
Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@jorisvandenbossche jorisvandenbossche merged commit a862060 into pandas-dev:master Feb 12, 2021
@jorisvandenbossche jorisvandenbossche added this to the 1.3 milestone Feb 12, 2021
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.

2 participants