How to replace NaNs by preceding values in pandas DataFrame?,"df.fillna(method='ffill', inplace=True)"