Jupyter Notebook is a web-based, interactive computational environment that is used extensively by the machine learning and data science community. It is a very convenient tool to create and share documents, from codes to full-blown reports, making it one of the most popular tools among data scientists.
Jupyter Notebook is a web-based, interactive computational environment that is used extensively by the machine learning and data science community. It is a very convenient tool to create and share documents, from codes to full-blown reports, making it one of the most popular tools among data scientists.
One feature that I love in Jupyter Notebook is called magic commands. To put it simply, they are shortcuts that can extend the capabilities of a notebook significantly. In this article, I’ll go through some of the magic commands that you should know in order to become a better data wizard.
If you want to follow along, you can refer to this Jupyter Notebook for the complete code:
Before we start with the first command, it is important to know that there are 2 types of magic commands: the %
prefix and the %%
prefix.
The %
prefix indicates that the command runs over a single line of code whereas the %%
prefix allows the command to runs over an entire cell. Don’t worry, you’ll see the difference between these two in the following examples.
machine-learning programming data-science jupyter-notebook python
🔵 Intellipaat Data Science with Python course: https://intellipaat.com/python-for-data-science-training/In this Data Science With Python Training video, you...
Practice your skills in Data Science with Python, by learning and then trying all these hands-on, interactive projects, that I have posted for you.
Practice your skills in Data Science with Python, by learning and then trying all these hands-on, interactive projects, that I have posted for you.
Practice your skills in Data Science with Python, by learning and then trying all these hands-on, interactive projects, that I have posted for you.
Practice your skills in Data Science with Python, by learning and then trying all these hands-on, interactive projects, that I have posted for you.