It would be nice to have a parameter to stratify based on categorical variables, as is done in lifelines package [https://lifelines.readthedocs.io/en/latest/fitters/regression/CoxPHFitter.html](https://lifelines.readthedocs.io/en/latest/fitters/regression/CoxPHFitter.html)