Aligning Measurements by Timestamp

Combining two measurement series requires a rule for pairing observations, especially if their timestamps are different.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace an absent match
  2. Choose an approximation openly

Trace an absent match

One series has readings at 10:00 and 10:05. Another has 10:00 and 10:06. An exact join pairs only the first time. Joining by key implements that policy.

Choose an approximation openly

A nearest-time join needs a maximum allowed difference and a tie rule. An unmatched result can remain absent. Missing and zero values explain why no reading deserves a separate state.[1][2]

References

  1. Hadley Wickham, Tidy Data ↩
  2. Matplotlib Development Team, Plot Types ↩