Do you understand the purpose of the (new) warning message? I suggest doing a 
web search of: 

A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

Then reading the explanations on the Stack Overflow site (and within the pandas 
doc itself). This warning is about ambiguities in your code that might not work 
the way you think it will work. Using .loc is guaranteed to work the same way 
every time. 

In your situation, the warning may or may not be a false positive... Reading 
the documentation and the comments from others will help you to determine 
which... It will also make you a better programmer as you learn to troubleshoot 
issues on your own. This is a process that every programmer goes through at 
some point in their career. The sooner that you learn how to do this, the 
faster your skills will develop. 

Regards, 

Jim

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/a0f97688-a286-41f6-9b4f-2eeb3d7d985fo%40googlegroups.com.

Reply via email to