python-socialsci
python-socialsci copied to clipboard
Warn learners about "setting on copy"
There should be a short but dedicated discussion warning about setting a value on copies: df[“a”][“b”] = 5
. This is one of the most common mistakes made by beginners, and often they are also inexperienced to understand the warning. This type of error can lead to serious errors in an analysis.