I have a data frame with the columns Name and name.
And I'm doing this:
for i in range(len(df)):
    if (some condition):
        df['name'][i] = df['Name'][i]
But I get this warning:
A value is trying to be set on a copy of a slice from a DataFrame
And also it takes a while to run, it's that related with the warning?
How should I do it?
 
     
     
    