~/talk

Employing NumPy's NPY Format for Faster Than Parquet DataFrame...

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

Claims that NPY/NPZ with JSON metadata and StaticFrame outperform Parquet with concrete numbers: writing a 10k×10k float frame drops from about 10.5s to 1.42s and reading from about 5s to 1s, an order‑of‑magnitude write speedup and large read gains. Implementation reimplements NPY authoring, rejects object arrays, caches headers, and exports NPY files to directories for memory‑mapping full DataFrames. Benchmarks scale to 100M elements where NPZ often beats uncompressed Parquet and memory‑mapped NPYs can even outpace pickle.

AI-written summary · about

  1. 0:00Intro
  2. 1:16The Quest for Complete DataFrame Serialization
  3. 1:48NumPy Enhancement Proposal (NEP) 1
  4. 3:13Promising Performance of NPZ versus Parquet
  5. 4:12Overview
  6. 4:49Components of a DataFrame
  7. 7:54Block-Consolidation Strategies Unconsolidated Blocks
  8. 8:59Block Consolidation & Complexity
  9. 11:33The NPY Format
  10. 12:01Converting Contiguous Bytes to an Array
  11. 13:48NPY & Object Arrays
  12. 14:15NPY Versions
  13. 14:45The NPZ Format
  14. 15:18Encoding a DataFrame as an NPZ
  15. 16:21JSON Metadata
  16. 17:25NPY Performance in Numpy
  17. 18:35Lies, Damned Lles, and Benchmarks
  18. 19:34Nine DataFrame Fixtures
  19. 23:37Memory Maps
  20. 23:54Memory Mapping an Array
  21. 25:29Memory Mapping a DataFrame
  22. 26:18Current State
  23. 27:24Future Work
  24. 27:44Conclusions
~/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.