Skip to content

Commit 3d9e65c

Browse files
Move the shell to try.html
1 parent 2a8acae commit 3d9e65c

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

web/pandas/getting_started.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ by [Wes McKinney](https://wesmckinney.com/), creator of pandas.
3939
You can try pandas in your browser with the following interactive shell
4040
without needing to install anything on your system.
4141

42-
**Please note it can take a while (>30 seconds) before the shell is initialized and ready to run commands.**
43-
44-
**Running it requires a reasonable amount of bandwidth and resources (>70 MiB on the first load), so it may not work properly on all devices or networks.**
45-
46-
<iframe
47-
src="./lite/repl/index.html?toolbar=1&kernel=python&execute=0&code=import%20pandas%20as%20pd%0Adf%20%3D%20pd.DataFrame%28%7B%22num_legs%22%3A%20%5B2%2C%204%5D%2C%20%22num_wings%22%3A%20%5B2%2C%200%5D%7D%2C%20index%3D%5B%22falcon%22%2C%20%22dog%22%5D%29%0Adf"
48-
style="width: 100%; max-width: 650px; height: 600px; border: 1px solid #130753;"
49-
></iframe>
42+
<p>
43+
<a class="btn btn-primary" href="{{ base_url }}try.html">Try it in your browser</a>
44+
</p>

web/pandas/try.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Try pandas in your browser (experimental)
2+
3+
Try our experimental [JupyterLite](https://jupyterlite.readthedocs.io/en/stable/) live shell with `pandas`, powered by [Pyodide](https://pyodide.org/en/stable/).
4+
5+
**Please note it can take a while (>30 seconds) before the shell is initialized and ready to run commands.**
6+
7+
**Running it requires a reasonable amount of bandwidth and resources (>70 MiB on the first load), so it may not work properly on all devices or networks.**
8+
9+
<iframe
10+
src="./lite/repl/index.html?toolbar=1&kernel=python&execute=0&code=import%20pandas%20as%20pd%0Adf%20%3D%20pd.DataFrame%28%7B%22num_legs%22%3A%20%5B2%2C%204%5D%2C%20%22num_wings%22%3A%20%5B2%2C%200%5D%7D%2C%20index%3D%5B%22falcon%22%2C%20%22dog%22%5D%29%0Adf"
11+
style="width: 100%; max-width: 650px; height: 600px; border: 1px solid #130753;"
12+
></iframe>

0 commit comments

Comments
 (0)