Skip to content

Commit

Permalink
Add new line so example renders correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp authored Nov 23, 2024
1 parent 0e540f4 commit 58a5840
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sksurv/nonparametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ def cumulative_incidence_competing_risks(event, time_exit, time_min=None):
Examples
--------
Creating cumulative incidence curves:

Check failure on line 637 in sksurv/nonparametric.py

View workflow job for this annotation

GitHub Actions / Linting and Docs (lint)

Ruff (W293)

sksurv/nonparametric.py:637:1: W293 Blank line contains whitespace

Check failure on line 637 in sksurv/nonparametric.py

View workflow job for this annotation

GitHub Actions / Linting and Docs (lint)

Ruff (W293)

sksurv/nonparametric.py:637:1: W293 Blank line contains whitespace
>>> bmt_df = pd.read_csv("tests/data/bmt.csv", sep=";", skiprows=4)
>>> event = bmt_df["status"].values
>>> time = bmt_df["ftime"].values
Expand Down

0 comments on commit 58a5840

Please sign in to comment.