I have a DataFrame containing timeseries data, that I resample twice. First, I upsample it so I have values for every millisecond:
re_milli = df.resample("