Closed
Description
The fillna
should work with this type of replacement (could just directly call replace
if method=None
in fact).
In [1]: df = DataFrame(dict(A = [1,np.nan]))
In [2]: df
Out[2]:
A
0 1
1 NaN
In [3]: df.fillna('')
ValueError: could not convert string to float:
In [4]: df.replace(np.nan,'')
Out[4]:
A
0 1
1