Dataframes and categorical, good style?

Because the categorical is a mapping from an underlying type (in your case presumably Int for Pclass and String for Sex) to a pool of levels, which are stored as UInt32

2 Likes