Skip to content

Commit

Permalink
fixes example formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Trybnetic committed Sep 9, 2024
1 parent 93e863b commit 296d04e
Show file tree
Hide file tree
Showing 3 changed files with 301 additions and 36 deletions.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ examples and more information on the functions can be found in the documentation
# Merge the activity columns into one labelled column. columns indicates the
# importance of the columns, later names are more important and will be kept
data.loc[:, "Activity"] = paat.create_activity_column(data, columns=["SB", "MVPA", "Time in Bed", "Non Wear Time"])
data.loc[:, "Activity"] = paat.create_activity_column(
data,
columns=["SB", "MVPA", "Time in Bed", "Non Wear Time"]
)
# Remove the other columns after merging
data = data[["X", "Y", "Z", "Activity"]]
Expand Down
327 changes: 293 additions & 34 deletions docs/source/example_notebooks/analyze_data.ipynb

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ examples and more information on the functions can be found in the documentation
# Merge the activity columns into one labelled column. columns indicates the
# importance of the columns, later names are more important and will be kept
data.loc[:, "Activity"] = paat.create_activity_column(data, columns=["SB", "MVPA", "Time in Bed", "Non Wear Time"])
data.loc[:, "Activity"] = paat.create_activity_column(
data,
columns=["SB", "MVPA", "Time in Bed", "Non Wear Time"]
)
# Remove the other columns after merging
data = data[["X", "Y", "Z", "Activity"]]
Expand Down

0 comments on commit 296d04e

Please sign in to comment.