CamDavidsonPilon / lifelines

Survival analysis in Python
lifelines.readthedocs.org
MIT License
2.38k stars 560 forks source link

Typo in documentation code snippet #1622

Open evanrubel opened 4 months ago

evanrubel commented 4 months ago

In this section, I believe the code snippet should be:

... base_df = pd.DataFrame([ {'id': 1, 'duration': 10, 'event': True, 'var1': 0.1}, {'id': 2, 'duration': 12, 'event': False, 'var1': 0.5} ]) ...

Instead of:

... base_df = pd.DataFrame([ {'id': 1, 'duration': 10, 'event': True, 'var1': 0.1}, {'id': 2, 'duration': 12, 'event': True, 'var1': 0.5} ]) ...