I have dataframe as below with blank space highlighted by blue line.
What I want to do is that if there is blank place like this, I want to fill in using fillna
method.
However, this method does'nt work because blank space is not recognized as na.
I tried to convert blank to na value while the data is imported using pd.read_csv(csv,na_values="")
, but didn't work.
Does anyone know how I can apply fillna
method to this dataframe?