01Chapter 1: Categorical features and why models need numbersThis chapter assumes basic Python, pandas DataFrames, NumPy arrays, training and test splits, and the idea of a feature matrix. A categorical feature is a feature whose values represent groups or labels, such as color, city, or payment_method.2 min read
02Chapter 2: Quick encoding with pandas get_dummiesAssume you know basic pandas DataFrames, NumPy arrays, and training/test splits. A categorical feature stores labels such as "red" or "green" rather than measured numbers. Most machine learning models need numeric feature matrices.1 min read
03Chapter 3: Feature names and sparse outputAssume you know pandas DataFrames, NumPy arrays, feature matrices, and training/test splits. This chapter focuses on practical choices after learning the one-hot encoding idea.1 min read