isnull() unable to find nan values in the data frame
The data
reads information from a txt file, and it includes some nan values. I try to replace all nan with zero using data.replace('nan', 0)
. But the nan values in the series cannot be found.
The data
reads information from a txt file, and it includes some nan values. I try to replace all nan with zero using data.replace('nan', 0)
. But the nan values in the series cannot be found.