Home > Net >  fill_between where condition easy, but puzzling problem
fill_between where condition easy, but puzzling problem

Time:10-19

I have a df from 2002 to 2017 that looks like this:

fill_between using step function

With the dataframe from the post, and updating the 'Date' column to date type (df['Date'] = pd.to_datetime(df['Date'])):

fill_between using step function with original data

  • Related