replace nans by preceding values in pandas dataframe `df`,"df.fillna(method='ffill', inplace=True)"