forward fill in pandas code example
Example: forward fill pandas ffill
pd.merge_ordered(df1, df2, left_on='col_x_df1', right_on='col_x_df2', fill_method='ffill')
pd.merge_ordered(df1, df2, left_on='col_x_df1', right_on='col_x_df2', fill_method='ffill')