Enhance Jupyter Notebook’s productivity with these Tips & Tricks.
Netflix aims to provide personalized content to its 130 million viewers.
One of the significant ways by which data scientists and engineers at Netflix interact with their data is through Jupyter notebooks. Notebooks leverage the use of collaborative, extensible, scalable, and reproducible data science. For many of us, Jupyter Notebooks is the de facto platform when it comes to quick prototyping and exploratory analysis.
However, there’s more to this than meets the eye. A lot of Jupyter functionalities sometimes lie under the hood and are not adequately explored.
Let's try and explore Jupyter Notebooks’ features which can enhance our productivity while working with them.
➡️Executing Shell Commands
The notebook is the new shell
The shell is a way to interact textually with the computer. The most popular Unix shell is Bash(Bourne Again SHell ). Bash is the default shell on most modern implementations of Unix and in most packages that provide Unix-like tools for Windows.
Now, when we work with any Python interpreter, we need to regularly switch between the shell and the IDLE, in case we need to use the command line tools. However, the Jupyter Notebook gives us the ease to execute shell commands from within the notebook by placing an extra !
before the commands. Any command that works at the command line can be used in IPython by prefixing it with the ! character.
➡️Jupyter Themes
Theme-ify your Jupyter Notebooks!
If you are a person who gets bored while staring at the white background of the Jupyter notebook, themes are just for you. The themes also enhance the presentation of the code.
➡️Notebook Extensions
Extend the possibilities
Notebook extensions let you move beyond the general vanilla way of using the Jupyter Notebooks. Notebook extensions are JavaScript modules that you can load on most of the views in your Notebook’s frontend. These extensions modify the user experience and interface.
➡️Jupyter Widgets
Make notebooks interactive
Widgets are eventful python objects that have a representation in the browser, often as a control like a slider, textbox, etc. Widgets can be used to build interactive GUIs for notebooks.
➡️Qgrid
Make Data frames intuitive
Qgrid is also a Jupyter notebook widget but mainly focused on data frames. It uses SlickGrid to render pandas DataFrames within a Jupyter notebook. This allows you to explore your DataFrames with intuitive scrolling, sorting, and filtering controls, as well as edit your DataFrames by double-clicking cells.
➡️Slideshow
Code is great when communicated.
Notebooks are an effective tool for teaching and writing explainable codes. However, when we want to present our work either we display our entire notebook(with all the codes)
or we take the help of PowerPoint. Not anymore. Jupyter Notebooks can be easily converted to slides and we can easily choose what to show and what to hide from the notebooks.
#datascience #content
And the excitement for the upcoming year will start again today :) 𝓗𝓪𝓹𝓹𝔂 𝓒𝓱𝓱𝓪𝓽𝓱 𝓹𝓾𝓳𝓪 Chhath Puja is dedicated to Sun and his wives Usha, Sandhya in order to thank them for their existence which is prospering life on earth, and to request for granting certain wishes. The most important thing is that, this Puja doesn’t involve idol worship.
"𝐒𝐡𝐚𝐫𝐢𝐧𝐠 𝐤𝐧𝐨𝐰𝐥𝐞𝐝𝐠𝐞 𝐢𝐬 𝐧𝐨𝐭 𝐚𝐛𝐨𝐮𝐭 𝐠𝐢𝐯𝐢𝐧𝐠 𝐩𝐞𝐨𝐩𝐥𝐞 𝐬𝐨𝐦𝐞𝐭𝐡𝐢𝐧𝐠, 𝐨𝐫 𝐠𝐞𝐭𝐭𝐢𝐧𝐠 𝐬𝐨𝐦𝐞𝐭𝐡𝐢𝐧𝐠 𝐟𝐫𝐨𝐦 𝐭𝐡𝐞𝐦. 𝐓𝐡𝐚𝐭 𝐢𝐬 𝐨𝐧𝐥𝐲 𝐯𝐚𝐥𝐢𝐝 𝐟𝐨𝐫 𝐢𝐧𝐟𝐨𝐫𝐦𝐚𝐭𝐢𝐨𝐧 𝐬𝐡𝐚𝐫𝐢𝐧𝐠.