ts-python

Python @ Two Sigma (ts-python.dutc.io)

Logo: Don't Use This Code, LLC

Newsletter

Fill out the below to subscribe to our newsletter for updates to this website, new course offerings, and other news!

Sign up!

today (Fri Jan-22): Python Fundamentals II: Eliminate ad hoc naming and repetitive code with objects (Discussion)
tmate link (https://tmate.io/t/dutc/ts-python)

Table of Contents

date session materials
Friday, January 29, 2021 applied pandas II: discussion notes & materials
Friday, January 22, 2021 applied pandas II: seminar notes & materials
Friday, January 22, 2021 python fundamentals II: discussion notes & materials
Friday, January 15, 2021 reproducibility II: discussion notes & materials
Thursday, January 14, 2021 python fundamentals II: seminar notes & materials
Friday, December 18, 2020 reproducibility II: seminar notes & materials
Friday, December 11, 2020 reproducibility I: discussion notes & materials
Friday, December 4, 2020 python fundamentals I: discussion notes & materials
Friday, December 4, 2020 reproducibility I: seminar notes & materials
Friday, November 20, 2020 python fundamentals I: seminar notes & materials
Wednesday, November 18, 2020 applied pandas I: discussion notes & materials
Friday, November 6, 2020 applied pandas I: seminar notes & materials

Notes & Materials

applied pandas II: Let’s “get in shape” with groupby! (Discussion)

Discussion Group (Fri Jan 29, 2021; 3:30 PM EST)

Keywords: pandas.DataFrame.groupby, pandas.DataFrame.groupby.apply, pandas.Dataframe.groupby.aggregate, pandas.DataFrame.groupby.transform

Presenter James Powell james@dutc.io
Date Friday, January 29, 2021
Time 3:30 PM EST

Materials:


applied pandas II: Let’s “get in shape” with groupby!

Seminar (Fri Jan 22, 2021; 9:30 AM EST)

Keywords: pandas.DataFrame.groupby, GroupBy.apply, GroupBy.aggregate, GroupBy.transform

Presenter James Powell james@dutc.io
Date Friday, January 22, 2021
Time 9:30 AM EST

Materials:


Python Fundamentals II: Eliminate ad hoc naming and repetitive code with objects (Discussion)

Discussion Group (Fri Jan 22, 2021; 3:30 PM EST)

Keywords: named tuples, sklearn transformers, dataclasses, code readability, reduce duplication or repetition

Presenter James Powell james@dutc.io
Date Friday, January 22, 2021
Time 3:30 PM EST

Materials:


Reproducibility II: Better notebooks and beyond

Discussion (Fri Jan 15, 2021; 3:30 PM EST)

Keywords: jupyter notebook; autoreload; heuristics for layout, display, splitting cells, kernel management, \%%magic; setup.py, libraries

Presenter James Powell james@dutc.io
Date Friday, January 15, 2021
Time 3:30 PM EST

Materials:


Python Fundamentals II: Eliminate adhoc naming and repetitive code with objects

Seminar (Thu Jan 14, 2021; 9:30 AM EST)

Keywords: namedtuples, dataclasses, code readability, reduce duplication or repetition

Presenter James Powell james@dutc.io
Date Thursday, January 14, 2021
Time 9:30 AM EST

Materials:


Reproducibility II: Better notebooks and beyond

Seminar (Fri Dec 18, 2020; 9:30 AM EST)

Keywords: jupyter notebook; autoreload; heuristics for layout, display, splitting cells, kernel management, \%%magic; setup.py, libraries

Presenter James Powell james@dutc.io
Date Friday, December 18, 2020
Time 9:30 AM EST

Materials:


Reproducibility I: Save 3 hours with 30 minutes of tests! (discussion)

Seminar (Fri Dec 11, 2020; 11:00 AM EST)

Theme: reproducibility

Keywords: software testing, property testing, pytest, and hypothesis

Presenter James Powell james@dutc.io
Date Friday, December 11, 2020
Time 11:00 AM EST

Materials:


Python Fundamentals I: Turn notebook cells into functions, the right way! (discussion)

Discussion (Fri Dec 4, 2020; 3:30 PM EST)

Theme: Python fundamentals

Keywords: functions, *args, **kwargs, functools.wraps, lambda; inspect.signature; decorators; sharing code, collaboration, moving from notebooks to scripts

Presenter James Powell james@dutc.io
Date Friday, December 4, 2020
Time 3:30 PM EST

Materials:


Reproducibility I: Save 3 hours with 30 minutes of tests!

Seminar (Fri Dec 4, 2020; 9:30 AM EST)

Theme: reproducibility

Keywords: software testing, property testing, pytest, and hypothesis

Presenter James Powell james@dutc.io
Date Friday, December 4, 2020
Time 9:30 AM EST

Materials:


Python Fundamentals I: Turn notebook cells into functions, the right way!

Seminar (Fri Nov 20, 2020; 9:30 AM EST)

Theme: Python fundamentals

Keywords: functions, *args, **kwargs, functools.wraps, lambda; inspect.signature; decorators; sharing code, collaboration, moving from notebooks to scripts

Presenter James Powell james@dutc.io
Date Friday, November 20, 2020
Time 9:30 AM EST

Materials:


applied pandas I: pandas is well designed, actually! (discussion)

Discussion (Wed Nov 18, 2020; 3:30 PM EST)

Keywords: understanding datatypes in pandas including pandas.array, pandas.Series, pandas.DataFrame; nullable ints, pandas.Categorical; resampling, masking

Presenter James Powell james@dutc.io
Date Wednesday, November 18, 2020
Time 3:30 PM EST

Materials:


applied pandas I: pandas is well designed, actually!

Seminar (Fri Nov 6, 2020; 9:30 AM EST)

Theme: applied pandas

Topic: how the pieces of pandas “fit” together

Keywords:

Presenter James Powell james@dutc.io
Date Friday, November 6, 2020
Time 9:30 AM PST

Materials:


Reproducibility I: Save 3 hours by writing 30 mins of tests

Seminar (Fri Dec 4, 2020; 9:30 AM EST)

Keywords: hypothesis, unit testing, property testing, moving from notebooks to scripts, covereage.py

Presenter James Powell james@dutc.io
Date Friday, December 4, 2020
Time 9:30 AM EST

Python Fundamentals I: Turn notebook cells into functions, the right way!

Discussion (Fri Dec 4, 2020; 3:30 PM EST)

Keywords: functions, *args, **kwargs, functools.wraps, lambda; inspect.signature; decorators; sharing code, collaboration, moving from notebooks to scripts

Presenter James Powell james@dutc.io
Date Friday, December 4, 2020
Time 3:30 PM EST

Reproducibility I: Save 3 hours by writing 30 mins of tests

Discussion Group (Fri Dec 11, 2020; 11:00 AM EST)

Keywords: hypothesis, unit testing, property testing, moving from notebooks to scripts, covereage.py

Presenter James Powell james@dutc.io
Date Friday, December 11, 2020
Time 11:00 AM EST