I am trying to create a column from the existing df and ending up with SettingWithCopyWarning. how do I fix it? what the best way to create a new column from the old one.
adding start hour using slicing from an existing column.
df3["start_hour"] = (df3["timeOfFirstUsage"].str[6:8] + "00")