Learn practical skills, build real-world projects, and advance your career

AI4M Course 2 Week 4 lecture notebook

One-hot encode categorical variables

import pandas as pd

Which features are categorical?