Skip to content

Commit

Permalink
update user_guide
Browse files Browse the repository at this point in the history
  • Loading branch information
linjing-lab committed Sep 22, 2023
1 parent 5a38ae9 commit 7a814de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
9 changes: 0 additions & 9 deletions user_guide/src/examples/selecting_data/lazy_select_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,3 @@

lazy_select_df = lazy_select_df.explain()

lazy_filter_df = (
pl.scan_csv("data/appleStock.csv")
.filter(
pl.col("Date") == datetime(1995, 10, 16),
)
.filter(pl.col("Close") > 100)
)

lazy_filter_df = lazy_filter_df.explain()
6 changes: 2 additions & 4 deletions user_guide/src/notebooks/introduction_polars-rs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
"metadata": {},
"outputs": [],
"source": [
"let polars_feature: [&str; 11] = [\"lazy\", \"csv-file\", \"strings\", \"temporal\", \"dtype-duration\", \"dtype-categorical\", \"concat_str\", \"list\", \"list_eval\", \"rank\", \"lazy_regex\"];\n",
"let reqwest_feature: [&str; 1] = [\"blocking\"]\n",
":dep polars = { version = \"0.23.2\", features = polars_feature}\n",
":dep polars = {version = \"0.23.2\", features = [\"lazy\", \"csv-file\", \"strings\", \"temporal\", \"dtype-duration\", \"dtype-categorical\", \"concat_str\", \"list\", \"list_eval\", \"rank\", \"lazy_regex\"]}\n",
":dep color-eyre = {version = \"0.6.2\"}\n",
":dep rand = {version = \"0.8.5\"}\n",
":dep reqwest = { version = \"0.11.11\", features = reqwest_feature}\n",
":dep reqwest = {version = \"0.11.11\", features = [\"blocking\"]}\n",
"\n",
"use color_eyre::{Result};\n",
"use polars::prelude::*;"
Expand Down

0 comments on commit 7a814de

Please sign in to comment.