Skip to content

Commit 6306517

Browse files
committed
Improve formatting
1 parent 3b3d129 commit 6306517

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source-code/polars/patient_data.ipynb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
"cell_type": "markdown",
368368
"metadata": {},
369369
"source": [
370-
"For all patients but one there are 7 measurements, for one there are only six."
370+
"For all patients but one there are 7 measurements, for one there are only 6."
371371
]
372372
},
373373
{
@@ -1099,7 +1099,10 @@
10991099
}
11001100
],
11011101
"source": [
1102-
"hypothesis = experiment_data.select('patient', 'dose', 'temperature').group_by('patient').agg(pl.col('dose').sum(), pl.col('temperature').max())\n",
1102+
"hypothesis = experiment_data \\\n",
1103+
" .select('patient', 'dose', 'temperature') \\\n",
1104+
" .group_by('patient') \\\n",
1105+
" .agg(pl.col('dose').sum(), pl.col('temperature').max())\n",
11031106
"hypothesis"
11041107
]
11051108
},

0 commit comments

Comments
 (0)