Data resampling

Hello.

I’m trying to extract a sample from a pandas dataframe, but it doesn’t come in (date) order.
Any ideas on how to fix this?

I think what you need to understand is the sort_values() method

sort_values()