I have a timer with several entries for several hours.
date wd ws temp sol octa pg mh daterep
1 2007-01-01 00:00:00 100 1.5 9.0 0 8 D 100 FALSE
2 2007-01-01 01:00:00 90 2.6 9.0 0 7 E 50 TRUE
3 2007-01-01 01:00:00 90 2.6 9.0 0 8 D 100 TRUE
4 2007-01-01 02:00:00 40 1.0 8.8 0 7 F 50 FALSE
5 2007-01-01 03:00:00 20 2.1 8.0 0 8 D 100 FALSE
6 2007-01-01 04:00:00 30 1.0 8.0 0 8 D 100 FALSE
I need to go to the time series with one record per hour, taking a record with a minimum value of mh, where there are several records. (Thus, in the above data, my second record should be row 2, and row 3 should be deleted.) I am working on both approaches: I select what I want in the new data framework and delete what I don't want in the existing one, but not getting it. Thank you for your help.
source
share