~/talk

Why do I need to know Python- I'm a pandas user

Talkat PyData NYC 2022 · 2022-11-09..11-11· [python]
slides:none on file

Argues that concrete Python knowledge pays off: using contextlib.closing fixes openpyxl file locks, pathlib + regex picks CSVs reliably, and itertools.product plus comprehensions generates scenario grids cleanly. Demonstrates a 2× performance surprise where mask-then-square beats indexed selection on a NumPy array, finds a tuple-allocation discontinuity at 59→60 elements, and rewrites an optimizer and a genetic-algorithm simulator as generators so external stopping conditions work; code examples run and produce the reported timings and plots.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Python basics for pandas
  3. 6:26Excel data with Python
  4. 10:40Looping beyond vectorization
  5. 18:43Generators for computations
  6. 28:59Object orientation for code
  7. 37:44Python tricks for pandas
  8. 41:20Q&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.