pymatch
pymatch copied to clipboard
m.compare_categorical()
get an error claiming "['var' 'before' 'after'] not in index" when running compare_categorical()
I think this might be the error you get when there is no categorical data in your predictors.
Did you check that you have any data of type categorical in your co-variates?
Check df.info()
I meet same problem even through I transfer the feature into categorical