I want to give an alias to a command in jupyter notebook such that if i write:
Get me list of all students
this alias name will call a command that I have written and show the desired result
Please help.
I want to give an alias to a command in jupyter notebook such that if i write:
Get me list of all students
this alias name will call a command that I have written and show the desired result
Please help.
IPython is the Python backend to the Jupyter Notebook, which is also known as the kernel, if you want to add an alias to Jupiter you can add an alias to IPython since all commands are executed there:
For more information check this website: IPython Alias to Preload Your Favorite Modules and Activate Autoreload
Also, IPython reads a configuration file in start-up, by editing this file you can define an alias, check this website for more information: Customization configuration file
If the file doesn't exist create one: Introduction to IPython configuration