pandas fillna not working

You need inplace=True

df[1].fillna(0, inplace=True)

Leave a Comment