CamDavidsonPilon / lifelines

Survival analysis in Python
lifelines.readthedocs.org
MIT License
2.32k stars 551 forks source link

Typo in documentation code snippet #1622

Open evanrubel opened 2 days ago

evanrubel commented 2 days 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} ]) ...