I'm working with some times series data and need to filter out some garbage. The goal is to keep the time stamps and interpolate data that is junk.
I've tried just filtering int out and reindexing, but python doesn't seem to treat datetime indices the same.
So, tried
ogIndex = df.index
df = df[df[col to filter] > some filter #] # drops the index
df.reindex(ogIndex)
......didn't work