I have a several question.
First, I want to datetime in pandas dataframe.
like this... 2018/03/06 00:01:27:744
How can I replace this datetime?
And Then.. Second..
Time Sensor1 Sensor2 TimeCumsum
2018/03/06 00:01:27:744 0 1
2018/03/06 00:01:27:759 0 1
2018/03/06 00:01:27:806 0 1 0.15
2018/03/06 00:01:27:838 1 1
2018/03/06 00:01:28:009 1 1 0.2
2018/03/06 00:01:28:056 1 0 ...
I wanna Time Seconds cumsum when Sensor1 is 0 And Sensor2 is 1.
How can I do this?
Thanks.