Fix: Add compat code for pd.Categorical.labels -> .codes