Fix warnings and fix error in dataframe for 1 city