~/talk

9 Jupyter Notebook Tricks for Your Next Advent of Code

Talkat PyOhio 2021 · on Saturday, 2021-07-31· [data-science, python]
slides:none on file

Shows concrete Jupyter techniques with actual results: use the help popup with ? and ? wildcard to find functions, auto-run code from an IPython startup file to pre-import modules, run shell commands with ! to inspect files, persist variables with %store magic and inspect with %whos, debug postmortem with %debug or auto‑enter with %pdb*, create a pastebin from selected cells, and speed up slow brute‑force code by adding numba jit to drop a 4.5s run to 0.3s then 0.003s.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Documentation
  3. 1:12ReModule
  4. 1:31wildcard search
  5. 1:49find function
  6. 2:19execute code
  7. 2:33shell commands
  8. 2:52startup folder
  9. 3:02echo command
  10. 4:12store magic
  11. 4:34list variables
  12. 4:59who and whose
  13. 5:23debug magic
  14. 5:34debugging
  15. 6:04automatically start debugger
  16. 6:29paste bin
  17. 6:55jit decorator
  18. 8:14Outro
~/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.