Bring typical time series / IoT data formats to an optimal structure for correlation and comparing assets.

Reshaping long and wide formats