Closed Flix6x closed 4 years ago
>>> import timely_beliefs as tb >>> from datetime import timedelta >>> df = tb.examples.example_df >>> df = df.resample_events(timedelta(hours=1)) # works fine >>> df = df.convert_index_from_belief_time_to_horizon() >>> df = df.resample_events(timedelta(hours=1)) # fails with KeyError: 'belief_time'