Skip to content

Commit

Permalink
chore(docs): simply pip install ibis-framework instead of pre-install…
Browse files Browse the repository at this point in the history
…ing a bunch of requirements (#10683)
  • Loading branch information
cpcloud authored Jan 17, 2025
1 parent 85b449e commit 4dc8631
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
9 changes: 0 additions & 9 deletions docs/_tabsets/repl_warning.qmd

This file was deleted.

16 changes: 12 additions & 4 deletions docs/tutorials/browser/repl.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,27 @@ format:
Try our experimental JupyterLite console with Ibis, using the Palmer
penguins[^1] dataset loaded into the DuckDB backend!

{{< include ../../_tabsets/repl_warning.qmd >}}
::: {.callout-warning collapse="true"}
## Ibis in the browser is experimental.

iOS is known to crash on this page.

Mobile Firefox may also not work (the page won't crash though).

Please [open an issue on GitHub](https://github.com/ibis-project/ibis/issues/new/choose) if you encounter problems.
:::

```{python}
#| echo: false
#| output: asis
from urllib.parse import urlencode
lines = """
%pip install numpy pandas tzdata duckdb pyarrow
import pathlib, js
penguins_csv_url = "https://storage.googleapis.com/ibis-tutorial-data/penguins.csv"
pathlib.Path("penguins.csv").write_text(await (await js.fetch(penguins_csv_url)).text())
del pathlib, js, penguins_csv_url
penguins_text = await (await js.fetch(penguins_csv_url)).text()
pathlib.Path("penguins.csv").write_text(penguins_text)
del pathlib, js, penguins_csv_url, penguins_text
%clear
%pip install 'ibis-framework[duckdb]'
from ibis.interactive import *
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4dc8631

Please sign in to comment.