Field note · February 24, 2024
What vibration_mm_s actually contains in sensor-telemetry
8,000 rows, 2,369 distinct values, and the one fact about vibration_mm_s that changes how you query it.
Working through sensor-telemetry again. vibration_mm_s is the column people trip over, so here is what it actually looks like.
8,000 rows, no nulls, 2,369 distinct values. RMS vibration velocity.
The five-number version: min 1.62, p10 2.16, median 2.79, p90 3.78, max 18.52. The mean is 2.93.
The p10 to p90 band — 2.16 to 3.78 — is where ordinary rows live, and it is the pair worth quoting when somebody asks what to expect. Min and max describe the two strangest rows in the table and nothing else; they are useful for spotting impossible values and misleading for everything else.
select
count(*) as rows,
count(vibration_mm_s) as present,
count(*) - count(vibration_mm_s) as nulls,
count(distinct vibration_mm_s) as distinct_values
from sensor_telemetry;Nothing dramatic: the mean and median are within 5.0% of each other, so an average is a fair summary. That is worth confirming rather than assuming — it is not true of most money columns.
Where this matters: a symmetric column is one you can average, threshold and chart without hedging, which makes it unusually cheap to work with. Knowing which of your columns are like this and which are not is most of knowing when to be careful.
The grain is one row per sensor reading, which is the context every one of those numbers depends on. None of them survive a change of grain, which is why "profile the column" and "profile the table" are the same job. Full schema, and the CSV, on the dataset page.