You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hi, no problem related. Pyq had the functionality of both cell and line magics which was useful to explore tables.
Describe the solution you'd like
Adding the functionality
Describe alternatives you've considered
I changed locally my nbextension.py file to support it.
Is your feature request related to a problem? Please describe.
Hi, no problem related. Pyq had the functionality of both cell and line magics which was useful to explore tables.
Describe the solution you'd like
Adding the functionality
Describe alternatives you've considered
I changed locally my
nbextension.py
file to support it.Second version, more clean but changes
q
function:if code is
None
, it means line magic. We need to patch code and instructions to execute correctly.Additional resource
https://ipython.readthedocs.io/en/stable/api/generated/IPython.core.interactiveshell.html#IPython.core.interactiveshell.InteractiveShell.register_magic_function
https://github.com/KxSystems/pyq/blob/8c31f19e6ee8970d5b4146c5593cb1ed174e1385/src/pyq/magic.py#L47
The text was updated successfully, but these errors were encountered: