~/talk

Indroduction to the PySpark DataFrame API

Talkat PyData Berlin 2015 · 2015-05-29..05-30· [python, machine-learning]
links:none on file
slides:none on file

PySpark demonstrates the Spark DataFrame API (introduced in Spark 1.3) as a declarative layer that compiles queries to JVM bytecode so Python data frames get same execution speed as Scala. The demo loads JSON and CSV, reads Parquet, joins employees and salaries, caches results, registers user-defined functions distributed to workers, and pulls a reduced result into pandas. A toy dataset returns 1797 male and 120000 female and highlights that RDDs in Python suffer extra serialization overhead.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Apache Spark core concepts
  3. 7:44PySpark basics and cluster flow
  4. 9:55First RDD demo
  5. 14:31PySpark DataFrame API
  6. 15:14Spark SQL and DataFrame overview
  7. 17:43DataFrame API performance
  8. 18:47Creating DataFrames from sources
  9. 20:16Catalyst optimizer and execution plans
  10. 25:26First DataFrame tweet example
  11. 28:13Joining CSV datasets
  12. 31:19Caching DataFrames
  13. 34:18Grouping and aggregating data
  14. 36:06User-defined functions
  15. 36:50PySpark with pandas
  16. 37:54Summary of benefits
  17. 40:23Q&A
~/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.