from synoptic import Latency
df = Latency(
stid="wbb",
start=datetime(2024, 6, 6),
end=datetime(2024, 6, 6, 1),
stats="all",
).df()
# SynopticPy should unnest "statistics" column for you...
df.unnest("statistics")
Need to cast columns to appropriate type (datetime, duration, etc.)
This service reports the delay time (in minutes) of an observation received at our ingest servers relative to the observation’s timestamp.
https://docs.synopticdata.com/services/latency
Duration columns
- value
- average
- maximum
- minimum
- standard_deviation
- median
Datetime columns
- date_time
- start
- end
- maxtime
- mintime
Count column should be an uint64, right?
Restricted_data and Restricted metadata should be bool