We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, running this code:
from lifelines import KaplanMeierFitter from lifelines.datasets import load_waltons df = load_waltons() ix = df['group'] == 'miR-137' kmf1 = KaplanMeierFitter() kmf1.fit(df['T'][~ix], df['E'][~ix], label='control') kmf2 = KaplanMeierFitter() kmf2.fit(df['T'][ix], df['E'][ix], label='miR-137') kmf1.subtract(kmf2).head()
yields this DataFrame:
But if we drop the labels, we get:
Shouldn't the label be ignored by subtract/divide?
subtract/divide
The text was updated successfully, but these errors were encountered:
Ah, that's a legit bug. Thanks for reporting!
Sorry, something went wrong.
fix issue #466
0f38863
Merge pull request #468 from CamDavidsonPilon/univariate-bug-fixes
ee758cc
This was fixed in the latest version
Woohoo! Thanks!
No branches or pull requests
For example, running this code:
yields this DataFrame:
But if we drop the labels, we get:
Shouldn't the label be ignored by
subtract/divide
?The text was updated successfully, but these errors were encountered: