My error is occurring after I resample a Pandas dataframe. The first resampling works fine:
column_names = ["TimeStamp", "open", "high&qu