text: TITLE Using pandas categories properly is tricky, here’s why… SUB Understanding common pitfalls and unexpected behaviour, how to avoid letting the cats scratch you CAPTION a teddy bear wearing a hat with a picture of a dog on it