Skip to content

Commit

Permalink
docs: add %pip usage instruction to Jupyter guide (#3431)
Browse files Browse the repository at this point in the history
## 📝 Summary

Add a row for %pip installation guide in cell block `Common magic
commands replacements` introduced in this PR #3408

## 🔍 Description of Changes

Add the following to the existing table guide (for magic commands
replacement):

| Magic Command| Replacement |
|--------|--------|
| %pip| Use the package manager option on the sidebar to install
packages|

## 📋 Checklist

- [x] I have read the [contributor
guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md).
- [x] For large changes, or changes that affect the public API: this
change was discussed or approved through an issue, on
[Discord](https://marimo.io/discord?ref=pr), or the community
[discussions](https://github.com/marimo-team/marimo/discussions) (Please
provide a link if applicable).
- [x] I have added tests for the changes made.
- [x] I have run the code and verified that it works as expected.

## 📜 Reviewers

<!--
Tag potential reviewers from the community or maintainers who might be
interested in reviewing this pull request.

Your PR will be reviewed more quickly if you can figure out the right
person to tag with @ -->

@akshayka OR @mscolnick

---------

Co-authored-by: Akshay Agrawal <[email protected]>
  • Loading branch information
Haleshot and akshayka authored Jan 14, 2025
1 parent f270fd8 commit 42679f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guides/coming_from/jupyter.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ subprocess.run(["ls", "-l"])
| %autoreload | marimo's [module autoreloader](../../editor_features/module_autoreloading/) |
| %matplotlib | marimo auto-displays plots |
| %pwd | `os.getcwd()` |
| %pip | Use marimo's [built-in package management](../../editor_features/package_management/) |
| %who_ls | `dir()`, `globals()`, [`mo.refs()`][marimo.refs], [`mo.defs()`][marimo.defs] |
| %system | `subprocess.run()` |
| %%time | `time.perf_counter()` or Python's timeit module |
Expand Down

0 comments on commit 42679f4

Please sign in to comment.