Skip to content

Add documentation link to SettingWithCopyWarning #17672

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

Closed
wants to merge 1 commit into from
Closed

Add documentation link to SettingWithCopyWarning #17672

wants to merge 1 commit into from

Conversation

gliptak
Copy link
Contributor

@gliptak gliptak commented Sep 25, 2017

#17505

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

@@ -1812,3 +1812,5 @@ This will **not** work at all, and so should be avoided
The chained assignment warnings / exceptions are aiming to inform the user of a possibly invalid
assignment. There may be false positives; situations where a chained assignment is inadvertently
reported.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would move this to the top of the section and make it a note::

@jreback jreback added the Docs label Sep 26, 2017
@codecov
Copy link

codecov bot commented Sep 27, 2017

Codecov Report

Merging #17672 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #17672      +/-   ##
==========================================
- Coverage   91.27%   91.24%   -0.03%     
==========================================
  Files         163      163              
  Lines       49760    49808      +48     
==========================================
+ Hits        45416    45445      +29     
- Misses       4344     4363      +19
Flag Coverage Δ
#multiple 89.03% <ø> (-0.01%) ⬇️
#single 40.32% <ø> (-0.09%) ⬇️
Impacted Files Coverage Δ
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/categorical.py 95.28% <0%> (-0.43%) ⬇️
pandas/core/frame.py 97.73% <0%> (-0.1%) ⬇️
pandas/core/accessor.py 93.65% <0%> (-0.1%) ⬇️
pandas/core/internals.py 94.3% <0%> (-0.07%) ⬇️
pandas/core/indexes/base.py 96.28% <0%> (-0.01%) ⬇️
pandas/core/series.py 94.93% <0%> (-0.01%) ⬇️
pandas/core/generic.py 92.07% <0%> (-0.01%) ⬇️
pandas/io/parsers.py 95.48% <0%> (-0.01%) ⬇️
pandas/io/date_converters.py 100% <0%> (ø) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9d88cd...01432e4. Read the comment docs.

@codecov
Copy link

codecov bot commented Sep 27, 2017

Codecov Report

Merging #17672 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #17672      +/-   ##
==========================================
- Coverage   91.27%   91.24%   -0.03%     
==========================================
  Files         163      163              
  Lines       49760    49808      +48     
==========================================
+ Hits        45416    45445      +29     
- Misses       4344     4363      +19
Flag Coverage Δ
#multiple 89.03% <ø> (-0.01%) ⬇️
#single 40.32% <ø> (-0.09%) ⬇️
Impacted Files Coverage Δ
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/categorical.py 95.28% <0%> (-0.43%) ⬇️
pandas/core/frame.py 97.73% <0%> (-0.1%) ⬇️
pandas/core/accessor.py 93.65% <0%> (-0.1%) ⬇️
pandas/core/internals.py 94.3% <0%> (-0.07%) ⬇️
pandas/core/indexes/base.py 96.28% <0%> (-0.01%) ⬇️
pandas/core/series.py 94.93% <0%> (-0.01%) ⬇️
pandas/core/generic.py 92.07% <0%> (-0.01%) ⬇️
pandas/io/parsers.py 95.48% <0%> (-0.01%) ⬇️
pandas/io/date_converters.py 100% <0%> (ø) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9d88cd...5c6bc02. Read the comment docs.

.. note::

The chained assignment warnings / exceptions are aiming to inform the user of a possibly invalid
assignment. There may be false positives; situations where a chained assignment is inadvertently
Copy link
Contributor

Choose a reason for hiding this comment

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

remove the last sentence; this is actually not true. All purported false positive are actually user error (at least that have been reported)

@gliptak
Copy link
Contributor Author

gliptak commented Oct 1, 2017

@jreback Please review.

@jreback
Copy link
Contributor

jreback commented Oct 1, 2017

@jorisvandenbossche ?

@gliptak gliptak closed this Oct 28, 2017
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