Looking for print/plot shorthand magics #6739
Answered by blazespinnaker
blazespinnaker asked this question in Q&A
-
| eg, so instead of I could just go And for plot %p df['data'] histogram, binned 100 %h df['data'] |
Beta Was this translation helpful? Give feedback.
Answered by blazespinnaker Feb 17, 2023
Replies: 2 comments
-
| Possibly something that just allows for the creation of python magics would be more flexible. eg:
makes it so %d arg1 calls display(arg1) |
Beta Was this translation helpful? Give feedback.
0 replies
-
| I found this - https://stackoverflow.com/questions/30240156/how-to-write-an-ipython-alias-which-executes-in-python-instead-of-shell Seems to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by blazespinnaker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
I found this - https://stackoverflow.com/questions/30240156/how-to-write-an-ipython-alias-which-executes-in-python-instead-of-shell
Seems to work.