- a great speaker, content is usually good as well - https://www.youtube.com/watch?v=_GP9OpZPUYc
- wheels - https://www.youtube.com/watch?v=02aAZ8u3wEQ
- ML versioning - https://www.youtube.com/watch?v=jkfh2PM5Sz8
- pinterest migrating from py2 to py3 - https://www.youtube.com/watch?v=e1vqfBEAkNA
- the walrus operator - https://www.youtube.com/watch?v=6uAvHOKofws
- maintaining python projects - https://www.youtube.com/watch?v=9G2s1TN9QQY
- how to think about data viz - https://www.youtube.com/watch?v=vTingdk_pVM
- testing in data science - https://www.youtube.com/watch?v=0ysyWk-ox-8
- multiprocessing tips - https://www.youtube.com/watch?v=5dMOYf0b_20
- releasing instagram every 7 minutes - https://www.youtube.com/watch?v=2mevf60qm60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""This module's docstring summary line. | |
This is a multi-line docstring. Paragraphs are separated with blank lines. | |
Lines conform to 79-column limit. | |
Module and packages names should be short, lower_case_with_underscores. | |
Notice that this in not PEP8-cheatsheet.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_matching_variables(fname, tree, patterns): | |
from fnmatch import fnmatch | |
from root_numpy import list_branches | |
branches = list_branches(fname, tree) | |
selected = [] | |
for p in patterns: | |
for b in branches: |