~/talk

Building a Multi-Core Apply Function for Pandas

Talkat PyData Amsterdam 2019 · 2019-05-10..05-12· [python]
links:none on file
slides:none on file

This talk demonstrates building a multi-core apply method for pandas to speed up slow DataFrame.apply calls without large memory overhead. It covers Python multiprocessing techniques (including invoking copy-on-write memory) and pandas internals—how DataFrames are structured—and shows code examples and a simple pandas extension that implements the parallel apply.

AI-written summary · about

  1. 0:00Multi-core apply in pandas
  2. 1:29Processes and multi-core basics
  3. 3:11Memory sharing challenges
  4. 5:39Pandas data frames
  5. 7:27Memory optimization strategies
  6. 9:13Global memory access
  7. 11:01Monitoring memory usage
  8. 13:08Virtual memory and isolation
  9. 15:37Process spawning and mapping
  10. 17:23Data frame structure
  11. 19:11Why pandas objects copy
  12. 21:16Pandas multi-core extensions
  13. 22:20Memory-efficient apply
  14. 23:22Performance benefits
~/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.