I have two numpy arrays: date_month of the form
array([datetime.datetime(2013, 1, 1, 12, 0),
datetime.datetime(2013, 9, 1, 12, 0),
datetime.datetime(2013, 5, 1, 12, 0)], dtype=object)
and emission_each_month of the form
array([5,7,3])
The entry 5 of emission_each_month belongs to the timestamp (2013, 1, 1, 12, 0), 7 belongs to (2013, 9, 1, 12, 0), 3 belongs to (2013, 5, 1, 12, 0).
(In reality my data is much bigger)
I would like to have my data sorted by date. How do I that?