~/talk

Get your Data prod ready, Fast, with Ruby Polars!

Talkat RubyConf 2023 · 2023-11-13..11-15· [ruby, machine-learning, data-visualization]
links:none on file
slides:none on file

Uses the Ruby Polars gem (Rust core, Ruby API) to clean a CSV-sized dataset — the demo shows handling ~500,000 rows × 100 columns with missing and mixed types, wrong names and an outlier (Waterworld) removed via filter. Shows exact APIs used: with_columns, get_columns, fill_null (with pol.lit), custom NaN counting via isnan, string→to_datetime with format and nanoseconds, vstack to combine frames, unique to drop duplicates, then to_rows(named: true) and ActiveRecord insert_all to bulk import.

AI-written summary · about

  1. 0:00Welcome
  2. 1:04Ruby for data and AI
  3. 3:33Ruby Polars library
  4. 7:48Data types in Polars
  5. 8:31API data import
  6. 11:44Removing outliers
  7. 13:08Restructuring data
  8. 14:13Missing values handling
  9. 18:47New columns formatting
  10. 20:35CSV import and cleaning
  11. 22:47Combining data sources
  12. 23:51Removing duplicates
  13. 24:55Exporting to database
  14. 26:39Advanced Polars techniques
  15. 26:59Extract month from datetime
  16. 29:27Composite movie scores
  17. 30:52Data visualization with Vega
  18. 31:55Growing Ruby data ecosystem
  19. 32:15Resources and closing
~/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.