I am writing some python code to do Kaplan-Meier (KM) curves using the KM Fitter package from the Lifelines library. I am using some publi