~/talk

Comparing the Different Ways to Scale Python and Pandas Code

Talkat PyCon US 2022 · 2022-04-27..05-03· [python, data-visualization]
slides:none on file

Fugue provides a concrete bridge: the transform() function runs a single Python/Pandas function on Pandas Spark or Dask by swapping an engine, and a benchmark shows Spark jobs drop from 3 hours to 0.3 hours when used to prototype. Examples show when method two avoids shuffle it becomes far faster, lazy versus eager evaluation forces use of persist, and combining small Python UDFs with SQL shrinks code and often gives the best runtime.

AI-written summary · about

  1. 0:00Intro
  2. 1:19Pandas Limitations
  3. 2:00How To Scale Out?
  4. 2:52Distributed Computing Frameworks
  5. 4:40Reducing Barrier to Entry
  6. 5:22Introduction to Fugue
  7. 7:10Fugue Transform
  8. 7:32Bringing it to Spark
  9. 9:05The DataFrame For Tests
  10. 9:44Pandas Assumes Data Is Physically Together
  11. 12:40Pandas Assumes Data Shuffle is Cheap
  12. 15:59Pandas Assumes Eager Evaluation
  13. 16:12Eager vs Lazy Evaluation
  14. 19:13Expectation vs Reality
  15. 21:21A Spark Solution Based On Traditional SOL Syntax
  16. 25:09Fugue SQL
  17. 26:47Leveraging Python
  18. 28:08SQL Code Size & Execution Time
~/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.