lifelines
lifelines copied to clipboard
Add option to suppress __repr__ when fitting
I usually have a loop where I call fit(), and each iteration will produce a line of lifelines.KaplanMeierFitter fitted with %g observations which just floods my notebook's output. I tried going to class BaseFitter and added s = "" but of course it only floods blank new lines instead. Do you have any suggestions that I could suppress this? Maybe add a verbose parameter?
Hi @vunh16, thanks for the suggestion. Can you provide a simple reproducible example so I know what to look for in a fix?