451
"I want to live forever in AI"
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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 See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy