pandas
Python
code posted
by
russ
created at 12 Apr 17:13
Edit
|
Back
1 2 3 4 5 |
subdf = df[[n_atoms, n_atoms_fluoro, load_rate]] # final 10 minutes of data subdf2 = subdf[ df.index > df.index[-1] - relativedelta(minutes=10) ] # filter between two times subdf2 = subdf.ix[ to_datetime('20120412T1648') : to_datetime('20120412T1718') ] |
257 Bytes in 2 ms with coderay