~/talk

Understanding Polars data types

Talkat PyData Global 2024 · 2024-12-03..12-05· [python]
slides:none on file

Polars claims 18 data types and demonstrates concrete tradeoffs: bit-packed booleans save memory, a validity mask makes is_null free at compute cost of a bit per row, floats expose NaN versus null semantics, decimals give fixed higher precision, enums require a predefined set of values and raise errors on invalids, temporal columns enforce a single timezone per column, and List vs Array, Categorical vs Enum and Struct are distinguished by storage, semantics and available specialized operations that affect performance and memory.

AI-written summary · about

  1. 0:00Polars data types intro
  2. 1:52Why Polars types matter
  3. 3:18Boolean type and memory
  4. 5:29Null type for missing
  5. 8:39Integer types in Polars
  6. 11:10Signed vs unsigned integers
  7. 14:50Floating-point precision
  8. 17:16String type and text
  9. 18:19Temporal types: date/time
  10. 20:08DateTime type and time zones
  11. 22:37String to temporal conversion
  12. 24:05Duration type for intervals
  13. 25:11Binary type for raw data
  14. 26:18Decimal type for precision
  15. 28:07Enum and categorical types
  16. 29:31Wrap-up and resources
~/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.