change nan values in dataframe `df` using preceding values in the frame,"df.fillna(method='ffill', inplace=True)"