so I've got a data table from a sensor that I am not quite sure how to get formatted correctly. It's a light sensor that outputs voltage readings.
The first column in the table is the wavelength measured and then there's 100+ columns for each time instance it measures data.
How would I go about transforming or pivoting this correctly? Would just a Table Transpose be the correct activity?
Next, advice on how to convert raw timestamp into a usable timeseries? It comes out looking like this.
DD-MM-YYYYTHH:MM:SS.###Z
what can I do to convert this into a usable timeseries value to plot as an x-axis? It's down to the thousandth of a second, 0.1s increments.
Bonus, how to do this to find the min and max and normalize the time to be 0-->max?
...
14-07-2020T22:47:31.400Z
14-07-2020T22:47:31.500Z
14-07-2020T22:47:31.600Z
14-07-2020T22:47:31.700Z
14-07-2020T22:47:31.800Z
14-07-2020T22:47:31.900Z
...
@aliegner1 wrote:
Question about the timestamps: how would I convert this to a raw time duration? I'm seeing there's the "Date Difference" formula, but it looks like it needs two columns. How do I just make this a time series starting at 0.000s --> max time?
Before we go too much further I think we need to clarify this question here. @txnelson interpreted that as you wanting to get rid of the date portion of the datetime value. I don't think that's what you want.
You've now got a column of datetime values. That column can be used as a time series, it just won't start at 0.
If, instead, you'd rather a column that counted the time difference between consecutive rows of the data table that's easy to do with simple subtraction and row subscripting.
I have a couple of things to point out here:
I hope this helps clarify and provide a good direction.
Thank you Jeff. Your input on that final equation is great and removes the worry about a run that crosses midnight.