~/talk

Extending Pandas with Custom Types

Talkat PyData Los Angeles 2018 · 2018-10-17..10-19· [python, databases]
name:Will Ayd
links:none on file
slides:none on file

Pandas v0.23 introduces an extension interface that implements integer NA with mask by storing a value array plus a boolean mask so integers keep precision and a typical example shows ~37.5% memory savings versus float64; combining with bitarray can shrink the mask by up to 8× (or 16× in some boolean+int layouts). Practical builds include cyberpandas IPArray with a .ip accessor and the integer-NA extension already living on master.

AI-written summary · about

  1. 0:00Extending pandas with custom types
  2. 1:33Motivation for extension types
  3. 2:59Extension array basics
  4. 4:45Integer NA with extension arrays
  5. 8:15Memory savings with unsigned ints
  6. 10:09IP address extension arrays
  7. 11:56Bit arrays and memory optimization
  8. 15:04Use cases and community contributions
  9. 16:10Q&A: Integer arrays & missing values
  10. 17:34Q&A: Text performance & extension arrays
  11. 18:58Q&A: Arrow & pandas integration
  12. 20:01Q&A: Masks & data type preservation
  13. 21:53Q&A: Custom masks for missing data
  14. 22:57Q&A: Composability of extension types
  15. 24:48Q&A: Masking between columns
  16. 27:27Closing remarks
~/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.