Why you'll love Jupyter Notebook 7

  Рет қаралды 13,211

Python and Pandas with Reuven Lerner

Жыл бұрын

If you use Jupyter Notebook, then you should be very excited about the upcoming release of Notebook 7. It includes a bunch of new features, including a built-in debugger, outlining of text, and even themes - all of which will make it an even better tool for data scientists, educators, and developers.
In this video, I show you how to install Notebook 7, and then take you through some of the most interesting features that it offers.
The Jupyter notebook that I used for this video, along with those in all of my other videos, is at github.com/reuven/youTube-notebooks.
And of course, you can get a new article about Python every week at BetterDevelopersWeekly.com/, and new challenges with Pandas having to do with current events at www.BambooWeekly.com/.

Пікірлер: 53
@deldridg
@deldridg Жыл бұрын
Great intro Reuven and thank you. Straight off to update to ver 7. Really appreciate your time bringing these tips and cheers from Sydney - Dave
@ReuvenLerner
@ReuvenLerner Жыл бұрын
My pleasure -- enjoy!
@sebastiankaygun8317
@sebastiankaygun8317 Жыл бұрын
Thank you very much for this video! I tried to update before but it hasnt worked and I couldnt find any helpful information until this video👍
@ReuvenLerner
@ReuvenLerner Жыл бұрын
I'm so happy to hear it helped!
@gerozayas9425
@gerozayas9425 Жыл бұрын
Love your videos and content! Thanks a lot for teaching so much! Keep up the excellent work :)
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Thanks so much; glad it helped!
@faff
@faff Жыл бұрын
You can also use kernels to choose the conda environment you want the notebook to use.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Good point!
@somethingness
@somethingness Жыл бұрын
I'm confused: I thought Jupyter Notebook was deprecated and that we were all supposed to use Jupyter Lab going forward?
@ReuvenLerner
@ReuvenLerner Жыл бұрын
That was the plan... Until so many people kept using the notebook that they decided to spruce it up.
@somethingness
@somethingness Жыл бұрын
@@ReuvenLerner Interesting. Thanks for the reply.
@mohammedal-seady695
@mohammedal-seady695 Жыл бұрын
​@ReuvenLerner I am very interested in this terminal but I have one question how can increase CPU usage, because of I deal with molecular simulation and I need more CPU second usage. It is main problem for me, can you help me how solve this problem With regards
@zac1427
@zac1427 Жыл бұрын
I wonder if there are some auto completion or code copliot tools available for Jupyter Notebook
@ottovondrunkencoder
@ottovondrunkencoder Жыл бұрын
You should consider getting a good microphone. The problem with low volume videos is that people increase the volume to about 100% to hear such videos and then without realizing that volume is at 100% go to another video with normal volume level. Suddenly they are bombarded with extremely loud sound levels. If you are unlucky enough to be using headphones or earbuds it can damage the ears.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Thanks; I think that the microphone was good (since it's the same one as many other people use), but I configured it poorly this particular time. Sorry for the trouble, and I hope that the rest of my videos' volume is OK for you.
@cchrism.7586
@cchrism.7586 7 ай бұрын
Wonderful!
@ReuvenLerner
@ReuvenLerner 7 ай бұрын
Glad you enjoyed!
@bob-pq6ef
@bob-pq6ef Жыл бұрын
Thanks for sharing!, A debugger in Jupyter is what I always wanted!! Needs some getting used to though, how can you fold up a code cell?, used to be able to double click on the left but that no longer works
@ReuvenLerner
@ReuvenLerner Жыл бұрын
I taught with Notebook 7 today, and was also surprised to find that I couldn't shrink an output cell by double clicking on it! I'll round up what has changed and make another video, I guess... it could also be that it's a matter of configuring things correctly. Glad you enjoyed!
@dataalanlist
@dataalanlist 4 ай бұрын
Sir for this version, do you use Nbextensions ? Since I need the hinterland for autocompletion but it seems the Nbextensions not support/compatible with this version. Or maybe you have another recommendation for autocompletion in this version
@ReuvenLerner
@ReuvenLerner 3 ай бұрын
I don't use very many extensions, if any - in part because I've had trouble with extensions in the past. Autocomplete just kinda works for me, when I press tab.
@akshatrastogi9063
@akshatrastogi9063 Жыл бұрын
All these features are already there in jupyterlab.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
True! But now they're available to those of us using notebook, as well. Yay!
@jisoos_icecream
@jisoos_icecream 8 ай бұрын
thank you
@ReuvenLerner
@ReuvenLerner 8 ай бұрын
My pleasure!
@PerfectBuga
@PerfectBuga 8 ай бұрын
Very nice video but I have noticed something, I think the highlighting has changed, when I type print for example it shows all grey, no more green, I wonder how to make that back
@ReuvenLerner
@ReuvenLerner 8 ай бұрын
They definitely changed a bunch of the styling. I'm sure that there is a way to configure some or all of the colors, but I'm honestly not sure where that config is! If and when I find it, it would probably make for a good video...
@PerfectBuga
@PerfectBuga 8 ай бұрын
@@ReuvenLerner yeah I've been diving through all settings and did not find anything unfortunately, there must be a way to change that tho, thanks for replaying :)
@aussiphil87
@aussiphil87 5 ай бұрын
Any update on the highlighting? I am currently relearning Python and the new highlighting feels so weird. Thank you!
@ReuvenLerner
@ReuvenLerner 5 ай бұрын
@@aussiphil87 I personally don't have anything to suggest, but I found a page that should give you the initial push you need. I'm warning you, though, you'll need to use CSS. :-) jupyter-notebook.readthedocs.io/en/latest/custom_css.html Here's another one: skelouse.github.io/styling_a_jupyter_notebook And here's a third: www.datasource.ai/en/data-science-articles/customize-your-jupyter-notebooks
@mikemayuare
@mikemayuare Жыл бұрын
I wonder if Jupyter Lab will be deprecated in the future in favor of notebook. This seems like a strategy to migrate users to jupyter lab wiithout they knowing. Looks nice.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
I doubt it; there's still a lot of work being done on JupyterLab. But so many people love and use the notebook that I think they decided to bring much of the lab's functionality into it, which is great.
@Robinhox1000
@Robinhox1000 Жыл бұрын
I'm currently using Anaconda, if I write the commands to install Notebook 7 like you at the Anaconda prompt, will I have any compatibility issues or problems with the Navigator?
@ReuvenLerner
@ReuvenLerner Жыл бұрын
My big problem with Anaconda isn't the quality of the product, but rather that it forces (or maybe just "strongly encourages") you to download and install things via their installer, rather than pip and the other regular/normal Python installation system. In my experience, you don't want to mix and match between regular ol' Python and Anaconda; choose which you want, and stick with it. So maybe it'll work to install things the way that I did, but you might end up with multiple versions of Python on your system, each of which is aware of different packages. I've seen people in such situations, and it can get very confusing.
@Robinhox1000
@Robinhox1000 Жыл бұрын
@@ReuvenLerner thanks!
@ancientgear7192
@ancientgear7192 4 ай бұрын
2:25 Why does the interface looks like that? I reinstalled anaconda today and the notebook looks way different than what it used to. And the notebooks look different too. They are counterintuitive. Unless there is some kind of glitch.
@ReuvenLerner
@ReuvenLerner 4 ай бұрын
Yes, the new version of Jupyter notebook looks a bit different. They have moved around the UI and functionality. It's all still in there, plus a lot of new stuff, but they changed it because people didn't move to JupyterLab and still wanted the functionality. You can expect Jupyter to look and act this way moving forward, though.
@ancientgear7192
@ancientgear7192 4 ай бұрын
@@ReuvenLerner yes I found out it is version 7. I downgraded it to the previous 6 something version and now I can customize it with different themes too.
@joaopablo9588
@joaopablo9588 Жыл бұрын
Anaconda Navigator has not yet updated to Notebook 7. Every time I start it, it goes back to the previous version.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Anaconda is great for giving you a single, easily installable package for Python and the like. But it's not as good for pre-release packages like Notebook 7. I've often seen people struggle when they combine regular Python stuff with Anaconda. Sorry you're one of them!
@teclote
@teclote 6 ай бұрын
How to get cell to display markdown rather than code. At 3:38 # Agenda We'll be doing a lot of things Cell in [4] line 2 Syntax error: unterminated string literal (detected at line 2) Thank you.
@tirupatimangalpelli5345
@tirupatimangalpelli5345 9 ай бұрын
can u please find how to enable autocomplete syntax feature in notebook 7
@ReuvenLerner
@ReuvenLerner 9 ай бұрын
Hmm, it works for me when I press tab. Maybe it doesn't work in all versions?
@ReinkeDK
@ReinkeDK Жыл бұрын
Great video, thanks Is there a way to put the feed of you somewhere else? It was hiding stuff you talked about.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Sadly, I cannot change the video after uploading it! I'm so used to putting the video of my head in the top right, where it usually doesn't hide anything, that I forgot about it this time. The biggest thing that it hid was the white circle showing that the kernel had loaded successfully, and was idle (i.e., waiting for me to do something). But yeah, I'll be more careful in the future about where I put my head. Glad you otherwise enjoyed it!
@ReinkeDK
@ReinkeDK Жыл бұрын
@@ReuvenLerner I sure liked it :) Already installed the pre version, and am going to try it. p.s. You have a new subscriber :)
@ReuvenLerner
@ReuvenLerner Жыл бұрын
@@ReinkeDK Fantastic - welcome!
@farhanahoque7664
@farhanahoque7664 9 ай бұрын
Goog job
@ReuvenLerner
@ReuvenLerner 9 ай бұрын
Thanks!
@alaverdyan
@alaverdyan Жыл бұрын
I'm probably wrong but this looks an awful lot like the guys pulling open source code from VSCode and its implementation of notebooks and jamming it in jupyter, in any case it's better than before :)
@ReuvenLerner
@ReuvenLerner Жыл бұрын
It's definitely possible that there has been some cross-pollination of open-source code. I'm not sure, but I'm not complaining!
@akzork
@akzork Жыл бұрын
Jupyter lab?
@ReuvenLerner
@ReuvenLerner Жыл бұрын
These features are all in Jupyter Lab, it's true. But after telling Notebook users that we should upgrade if we want those features, the core developers brought them into the Notebook and have basically promised that the notebook will get love and support moving forward.