RE776
Specifier/Regulator
- Feb 17, 2011
- 16
Hi,
I have a large set of senor data collected every minute for 102 days.
In which, 1st columen contains dates in the format of YYYY,MM,DD,HH:MM. And 2nd column contains values, whole number from (8 - 20)
My problem is that the sensor wasn't 100% reliable hence there were some gaps scattered through column 1 and 2. These gaps were deleted when downloading the data from the sensor, Hence it looks something like this
09/11/2013 18:38
09/11/2013 18:39
09/11/2013 18:40
09/11/2013 18:41
09/11/2013 18:42
09/11/2013 18:43
11/11/2013 7:29
11/11/2013 7:30
11/11/2013 7:31
11/11/2013 7:32
11/11/2013 7:33
11/11/2013 7:34
In column 2, I have some data which despite have a date in the first column the value is shown as zero, which is basically a value when the sensor just started up. I have replaced these zero as NaN.
I intention is to plot a graph that will ignore the missing dates and just joint the last and first values of the data together, e.g. from above, data point 09/11/2013 18:43 will join to 11/11/2013 7:29, and the x-axis will not show all the minutes between the missing gap.
If some can give me a hand that would be much appreciated.
Many Thank
John
I have a large set of senor data collected every minute for 102 days.
In which, 1st columen contains dates in the format of YYYY,MM,DD,HH:MM. And 2nd column contains values, whole number from (8 - 20)
My problem is that the sensor wasn't 100% reliable hence there were some gaps scattered through column 1 and 2. These gaps were deleted when downloading the data from the sensor, Hence it looks something like this
09/11/2013 18:38
09/11/2013 18:39
09/11/2013 18:40
09/11/2013 18:41
09/11/2013 18:42
09/11/2013 18:43
11/11/2013 7:29
11/11/2013 7:30
11/11/2013 7:31
11/11/2013 7:32
11/11/2013 7:33
11/11/2013 7:34
In column 2, I have some data which despite have a date in the first column the value is shown as zero, which is basically a value when the sensor just started up. I have replaced these zero as NaN.
I intention is to plot a graph that will ignore the missing dates and just joint the last and first values of the data together, e.g. from above, data point 09/11/2013 18:43 will join to 11/11/2013 7:29, and the x-axis will not show all the minutes between the missing gap.
If some can give me a hand that would be much appreciated.
Many Thank
John