~/talk

Messy Sensor Data: A Programmer’s Cleaning Guide

Talkat PyCon AU 2017 · 2017-08-03..08-08· [python]
name:Xavier Ho
links:none on file
slides:none on file

Shows how to clean messy sensor weather data with runnable steps: use read_csv(sep, parse_dates, dayfirst, infer_datetime_format, na_values=['-']) to parse TSV logs, drop_duplicates(keep='last') then sort_values and set_index(datetime), convert compass directions to degrees via series.apply(dict.get), enforce regular timestamps with asfreq('30T') + interpolate(method='time') to drop or fill spurious 11/33-minute entries, plot with pandas/matplotlib, and record metadata flags for interpolated vs original values; notes caveats about time zones and merging different-frequency frames.

AI-written summary · about

  1. 0:00Intro
  2. 2:00Motivation
  3. 3:31Reading CSV files
  4. 7:05Pandas way
  5. 12:43Reading the numbers
  6. 13:59Writing fancy functions
  7. 15:58Finding weird timestamps
  8. 18:10Plotting the data
  9. 20:01Interpolate
  10. 22:26Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.