pydata/pandas — pull request #7950 by jreback (2014-08-06 21:45:32+00:00)
Title: COMPAT: raise SettingWithCopy in even more situations when a view is at hand

This will detect even more situations where chained assignment is being used.

FYI technically there are 2 situations where the same error is raised: 1) setting on a copy, 2) chained assignment on a view. Both are really similar and result in usually the same issue. An assignment that doesn't appear to assign anything.

This detected a number of tests that were incorrectly using chaining in the pandas test suite as well (fixed below).