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

NoSuchKey