We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e51b8c commit 7c3e1edCopy full SHA for 7c3e1ed
lectures/polars.md
@@ -290,7 +290,9 @@ df.filter(pl.col('cc') == pl.col('cc').max())
290
When we only want to look at certain columns of a selected sub-dataframe, we can combine filter with select.
291
292
```{code-cell} ipython3
293
-df.filter((pl.col('cc') + pl.col('cg') >= 80) & (pl.col('POP') <= 20000)).select(['country', 'year', 'POP'])
+df.filter(
294
+ (pl.col('cc') + pl.col('cg') >= 80) & (pl.col('POP') <= 20000)
295
+ ).select(['country', 'year', 'POP'])
296
```
297
298
**Application: Subsetting Dataframe**
0 commit comments