01Chapter 1: Why looping over rows is slowYou should know basic Python loops, functions, dictionaries, and pandas DataFrame and Series objects. You should also understand basic NumPy arrays.1 min read
02Chapter 2: Conditional columns with numpy.where and numpy.selectAssume you know basic Python, pandas DataFrames and Series, and NumPy arrays. A conditional column assigns a value from a condition without looping through rows. numpy.where handles two outcomes. numpy.select handles several ordered conditions.1 min read
03Chapter 3: Previous-row and running-total logicThis chapter assumes basic Python, pandas DataFrames, Series, dictionaries, and NumPy arrays. The goal is to replace row loops with operations that work on whole columns or groups.1 min read