Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content/jupyter: Use timeit as first cell magic example #268

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

rkdarst
Copy link
Member

@rkdarst rkdarst commented Nov 6, 2023

  • Related: Don't use bash magics in Jupyter lesson #64 (makes it slightly bettter but not fully fixing)
  • Introduce %%timeit as first magic since %%bash doesn't work on all
    OSs.
  • Not yet removing %%bash, I'd like to add another magic as an extra
    example to not make it just about %%timeit
  • I think that %%prun is most likely option for another demo but it
    should have a longer example that gives a meaningful profile.

- Related: #64 (makes it slightly bettter but not fully fixing)
- Introduce %%timeit as first magic since %%bash doesn't work on all
  OSs.
- Not yet removing %%bash, I'd like to add another magic as an extra
  example to not make it just about %%timeit
- I think that %%prun is most likely option for another demo but it
  should have a longer example that gives a meaningful profile.
@bast bast merged commit 46de36f into master Nov 6, 2023
2 checks passed
@bast bast deleted the rkdarst/jupyter-bash-magic branch November 6, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants