when I try and replace data frame column with a series- it comes up with NANs in python code example Example: replace "-" for nan in dataframe df.replace(np.nan,0)