~/talk

From Raw Recruit Scripts to Perfect Python

Talkat PyData New York City 2019 · 2019-11-04..11-06· [python, developer-experience]
links:none on file
name:Petr Wolf
links:none on file
slides:none on file

Converts a messy Jupyter notebook into modular, testable Python: replaces ad‑hoc CSV parsing with intake catalogs, adds pytest unit tests (including doctest checks and negative cases), enforces style with pylint/pyland and finds bugs, and profiles hotspots with %timeit and line_profiler before accelerating math with numpy and numba. Example outcomes: a broken parse_location function gets reliable tests and fixes; an RMSE loop drops from ~1.3 s to ~10 ms then ~6 ms after compilation; artifacts loadable from GitHub and the tests pass.

AI-written summary · about

  1. 0:00Introduction
  2. 10:10Reproducibility in Python
  3. 21:22Data sourcing with Intake
  4. 44:09Unit testing with pytest
  5. 1:01:05Code quality with pylint
  6. 1:09:57Performance optimization
  7. 1:23:00Conclusion and Q&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.