This is just working on the column *names*, which should be strings. So you shouldn't have any issues there.
But yeah, using str.replace and the like on a column with NaN values will end poorly!
But yeah, using str.replace and the like on a column with NaN values will end poorly!
Comments