Jupyter Notebooks in Visual Studio Code

  Рет қаралды 112,299

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

In this episode, Robert is joined by Jeffrey Mew, who shows how you can natively edit Jupyter notebooks in Visual Studio Code. Jupyter (jupyter-notebook.readthedocs.i...) (formerly IPython) is an open-source project that enables you to easily combine Markdown text and executable Python source code on one canvas called a notebook. These notebooks contain live code, equations, visualizations and narrative text. Jeffrey shows how easy it is to work with Jupyter notebooks in Visual Studio Code.
Resources:
Getting started with Python and VS Code: aka.ms/vst/pythonvscode
Announcing Support for Native Editing of Jupyter Notebooks in VS Code (devblogs.microsoft.com/python...)
Working with Jupyter Notebooks in Visual Studio Code (code.visualstudio.com/docs/py...)
Python extension for Visual Studio Code (marketplace.visualstudio.com/...)

Пікірлер: 97
@Dinesh-ql1ok
@Dinesh-ql1ok 4 жыл бұрын
Slowly visual studio code is transforming as the defacto IDE for everything. Great :-)
@wlgrd7052
@wlgrd7052 3 жыл бұрын
Pretty quickly actually
@apidas
@apidas 3 жыл бұрын
there's no such thing as defacto
@dhaval1489
@dhaval1489 4 жыл бұрын
Dear Director please put a promptor behind the presentor for host so he doesn't have to look at camera again and again with such confused look. Just a tip
@jasperzanjani
@jasperzanjani 4 жыл бұрын
lol no self-awareness at all
@ekaterinavolkova4348
@ekaterinavolkova4348 4 жыл бұрын
Awesome! Useful! I have set my Jupyter notebook in Visual Studio Code in couple minutes! It works!
@javqui1102
@javqui1102 4 жыл бұрын
Aweson Jeffry! Thanks for the great work!
@santiagocasanova9346
@santiagocasanova9346 3 жыл бұрын
This is absolutely amazing! Very nice features
@aadimator
@aadimator 4 жыл бұрын
Love the way it's going
@jamesmcgee1912
@jamesmcgee1912 4 жыл бұрын
I'm loving native jupyter integration into Vscode
@clemens.s2092
@clemens.s2092 4 жыл бұрын
Great video, very instructive. Thank you!
@rickr937
@rickr937 4 жыл бұрын
This is freaking amaziiiiiiing!!!!
@markchadwick77
@markchadwick77 2 жыл бұрын
Very impressive. I’m sold.
@JasonWhittle1
@JasonWhittle1 4 жыл бұрын
VS Code is awesome. The Python interactive window is the most useful for me. Hybrid of notebook and file is a great idea.
@chyldstudios
@chyldstudios 4 жыл бұрын
Very cool feature!
@ffabiang
@ffabiang 4 жыл бұрын
Holy crap, this is great!!
@karanjadavid2178
@karanjadavid2178 2 жыл бұрын
This is amazing
@brianbordenkircher52
@brianbordenkircher52 2 жыл бұрын
Very helpful!
@roodborstkalf9664
@roodborstkalf9664 4 жыл бұрын
Good presentation
@chakrabmonoj
@chakrabmonoj 3 жыл бұрын
Thanks Jeffrey (feat.Robert) for the nice tutorial. This is really helpful for someone like me, migrating from Jupyter to VS. I have a met with a few early bumps though and hope you could help me out with these : 1. How can I launch an already-created virtual environment in a new session if I have logged out of a current session 2. Can I kill/remove an existing venv - if yes, how? 3. My code requires a few external libraries to be installed (e.g. Selenium). But whenever I am in a new session, the code gives me an error, since I am unable to launch the venv in which I had installed the libraries previously. Do I need to install the required libraries everytime I start a new session? Really appreciate.
@sohambiswas8865
@sohambiswas8865 4 жыл бұрын
Is it possible to use other languages such as R within the notebook?
@DanielBurrueco
@DanielBurrueco 4 жыл бұрын
Does anyone know the theme being used? I liked the way code is distinguishable from the results
@tridibbiswas3361
@tridibbiswas3361 4 жыл бұрын
Hi, Thank you. I am not seeing the cell level controls shown 5:43 min of your video. I just have a green run arrow on the left hand corner of my cell. No controls below my cell as shown in your video. I am running Python 3.7.6 and VS Code 1.42.1 through Anaconda. Am I missing something here
@ramirez533
@ramirez533 4 жыл бұрын
Great video! can the markdown font be edited?
@elcapitano1438
@elcapitano1438 4 жыл бұрын
Quite a nifty feature to have
@liamchristman9033
@liamchristman9033 4 жыл бұрын
Is it possible to collaborate in a Jupyter Notebook remotely via LiveShare?
@picious
@picious 4 жыл бұрын
eveything run well except the mouse over help ,, how can i enable this ??? (thanks)
@broswhoknowstuff
@broswhoknowstuff 3 жыл бұрын
I set up a virtualenv. I pip installed modules numpy, matplotlib, and pandas. Running the VSCode Jupyter with a program of course it doesn't see the modules. How did you go about installing these using VSCode Juypter?
@peterg4130
@peterg4130 3 жыл бұрын
is there a way for me to have 2 or more notebooks open, and on different screens? You can do something like this in SSMS, with the query windows.
@Flyforward226
@Flyforward226 4 жыл бұрын
We know that we can covert Jupiter notebook to ipython in VS code, but once we finish the debugging, how do we convert it back to Jupiter notebook?
@Agrover112
@Agrover112 4 жыл бұрын
Does it require an update?
@scottfernando3647
@scottfernando3647 3 жыл бұрын
I am used to coding on PyCharm, thus I use venv and I do not have to worry about the packages and stuff, so will it be the same with Jupyter on VS? What if I create my project folder with PyCharm and then work on that with VS Code to use Jupyter?
@Steve-Richter
@Steve-Richter 3 жыл бұрын
how would notebook cells be used when editing javascript code?
@synatkeam5597
@synatkeam5597 3 жыл бұрын
I have a bit of problem saving the notebook as ipynb in Visual Studio Code. Could you assist.
@LoboJuniorBr
@LoboJuniorBr 4 жыл бұрын
Is possible to use Jupyter notebooks with csharp on VSCode?
@amarpratapsingh4806
@amarpratapsingh4806 3 жыл бұрын
When i am coding using this extension, the intellisense and tooltip opens when writing a method name, how do i close it then without lifting my hands off the keyboard.
@tubusr
@tubusr 4 жыл бұрын
Hi, this is awesome, just trying it out today. However, I'm not seeing the "cell level actions" you demoed in the video -- I only have a run action on the left and delete action on the right. All other actions that ought to be cell level are at notebook level up top -- what am I missing? I'm on Python 3.7.4 and have the latest python extension installed in vscode (also up to date).
@tridibbiswas3361
@tridibbiswas3361 4 жыл бұрын
Same here
@muhammadichsan8855
@muhammadichsan8855 4 жыл бұрын
Had try it, it consumes lot of RAM, Laggier than classic notebook. What I love are notebook design + intelliSense + variable explorer
@ambigus7
@ambigus7 4 жыл бұрын
Sure, IntelliSense + Variable Explorer are a really good benefit. It is slower than classic jupyter notebook, but the classic version doesn't have all other benefits that have VSCode. :)
@mariomuysensual
@mariomuysensual 2 жыл бұрын
Unironically it is faster than jupyter notebook.
@ShahnazMalik.
@ShahnazMalik. 2 жыл бұрын
How can we view all columns of a GeoDataFrame in VS Code .ipynb?
@albert_chen
@albert_chen 3 жыл бұрын
Me trying to convert all my eclipse, idle, pycharm, and jupyter notebook workflows all into VS Code. Let's goo!!!
@mow3890
@mow3890 3 жыл бұрын
It’s taking over
@lakshyabhardwaj9541
@lakshyabhardwaj9541 3 жыл бұрын
what advantage will I have by using VS code rather than running jupyter notebook in my browser by downloading anaconda directly to my laptop?
@kevball21
@kevball21 4 жыл бұрын
It would be good to do a video on environments and creating them. The idea is very confusing (to me) and would be useful to explain best practice about creating virtual environments. something like creating a ENV to install Keras and Tensorflow and be able to run Jupyter Notebooks from the new environment
@murtadha96
@murtadha96 2 жыл бұрын
2 years later and I still find the virtual environments thing a bit confusing. You have venv and virtualenv and pyenv and each does things differently and not necessarily compatible with the other.
@sarandonga_
@sarandonga_ 3 жыл бұрын
WOW!
@berndeckenfels
@berndeckenfels 4 жыл бұрын
Wow, great that it runs locally with no Jupyter install.
@whoami6821
@whoami6821 4 жыл бұрын
he said he will talk about how to connect Anaconda with VScode, but i did not see where he talk about it? can anyone told me where is that?
@skumarr53
@skumarr53 4 жыл бұрын
Does it support nb_extensions?. If yes, how do I add it to the VScode environment.
@darkinferno4687
@darkinferno4687 4 жыл бұрын
why would u need nb extensions in vscode? vs code plugins can do everything and more
@chimex1149
@chimex1149 2 жыл бұрын
Please how do you install matplotlib?
@brandomiranda6703
@brandomiranda6703 4 жыл бұрын
how does one connect a jupyter kernel if one does not connect automatically?
@firstspar
@firstspar 4 жыл бұрын
you need to add python and/or anaconda to your windows PATH directory so i.e. typing 'python' in any folder in CMD will run python
@utpalsavaliya761
@utpalsavaliya761 4 жыл бұрын
7:16 - Captions - "Markdown is basically WASTE like pretty printed text" Haha 😆
@arjunshinde7
@arjunshinde7 4 жыл бұрын
Make a video on nodejs JavaScript also
@Noth3ng
@Noth3ng 3 жыл бұрын
2 issues: 1. I'm not appreciating jupyter overwriting my shortcuts, should be a flag in settings where I can opt out from that 2. Version control. Developing without being able to verify changes through visual diff between commits is brutal - that feature of converting to *.py is amazing start in the right direction, probably this is the future - I hope they'll keep working on that. I would like to convert ALL of *.ipynb to *.py in that format, and store jupyter related data seperately in some gitignored folder. Would be a massive boost in tracking code quality and teamwork.
@johncardona1910
@johncardona1910 3 жыл бұрын
no words.
@zunelmhrz3040
@zunelmhrz3040 4 жыл бұрын
how to solve this problem?? "Jupyter notebook failed to launch. Error: The Jupyter notebook server failed to launch in time"
@Agrover112
@Agrover112 4 жыл бұрын
Cause my VS Code doesn't run it?
@augustojlle
@augustojlle Жыл бұрын
Which theme is that ?
@CatACamera
@CatACamera 4 жыл бұрын
Any chance to enable line numbers in it?
@ambigus7
@ambigus7 4 жыл бұрын
+1
@c0f2a
@c0f2a 2 жыл бұрын
ESC, then L
@davidjackson7675
@davidjackson7675 3 жыл бұрын
In order for Python to do what a base R does you need at least three or four packages: numpy, Pandas, SciPy, and Matplotlib.
@mariomuysensual
@mariomuysensual 2 жыл бұрын
Same for solving and visualizing ODE solutions, mathematica does it w/o external packages. Python is far from the definitive programming language, but it is very attractive due to its versatility.
@dhnguyen68
@dhnguyen68 3 жыл бұрын
At 4:55, we see how to create a new jupyter nootebook (at last)
@Abdu-ALLAH3
@Abdu-ALLAH3 4 жыл бұрын
but i'm using VS enterprise 2019 how can i use Jupyter Notebooks in it ?, Managed to install packages for jupyter in environment but i still idk not how to start jupyter notebook ?
@jakubdonovan4985
@jakubdonovan4985 4 жыл бұрын
Did you even watch the video?
@blackkissi
@blackkissi 4 жыл бұрын
the guy one the left looks like steve carell :D
@VishalJangid1
@VishalJangid1 4 жыл бұрын
But it does not support function these Suppose I want a json slider next to variable, it is there in google collab but I guess not in vscode as of yet w = 0 #@param {type:"slider", min: -2, max: 2, step:0.1}
@varunc
@varunc 4 жыл бұрын
That presenter looks like Michael Scott from the Office..
@Rothbardo
@Rothbardo 3 жыл бұрын
Anyone else having trouble importing Numpy?
@ColeridgeGuo
@ColeridgeGuo 3 жыл бұрын
With all due respect to the host, maybe Microsoft can hire a host that knows more about the stuff
@lawrencedoliveiro9104
@lawrencedoliveiro9104 2 жыл бұрын
3:48 The big problem with Python on Windows is the two different ways of installing it are incompatible and cannot share packages.
@4wen_main
@4wen_main 2 жыл бұрын
Coming from gvim to vscode..
@haritssyah7434
@haritssyah7434 4 жыл бұрын
why they are let the vscode and jupyter notebook extention open-source free ?, what is the point behing freeing this kind of software ?
@ss_sk06
@ss_sk06 4 жыл бұрын
Only product MS gives best and free.
@ambigus7
@ambigus7 4 жыл бұрын
Sure! The only!!
@JamesTJoseph
@JamesTJoseph 4 жыл бұрын
Vscode killed Spyder :(
@SirusStarTV
@SirusStarTV 4 жыл бұрын
*****JuPyTeR NoTeBoOkS*****
@renedoz
@renedoz 4 жыл бұрын
I so wished that Microsoft would have instead approached Jupyter people and said: "hey guys, how can we help you make JupyterLab even more amazing?"
@rhettsmedia
@rhettsmedia 4 жыл бұрын
I would be happy to do a screen share and show you how terrible this product is maybe you can show me how it really works
@nnabicse
@nnabicse Жыл бұрын
Jupiter Notebook in Vs code kinda crap
@joeyng1282
@joeyng1282 3 жыл бұрын
Dude wearing $600 sweatshirt.
@rhettsmedia
@rhettsmedia 4 жыл бұрын
Screen reader users cannot use this because it just doesn’t work
@stackaug
@stackaug 4 жыл бұрын
Good content, but the host really needs to stop looking at the clock. It’s super distracting and it makes him seem uninterested in this.
@VishalJangid1
@VishalJangid1 4 жыл бұрын
He is looking at the tv screen which is projected on his back
@irProteus
@irProteus 4 жыл бұрын
Pardon my ignorance ... but what IS a Jupyter Notebook. My 6th grade english teacher, oh so many years ago now, used to say-"hyperbole means hyperbole.... so now you know what hyperbole means' Never use terminology that isn't in "common" language useage..... without first defining it,
@fernandovieira306
@fernandovieira306 4 жыл бұрын
Cool, but still a pain in the neck to setup the environment.
@iChrisBirch
@iChrisBirch 4 жыл бұрын
The HOST NEEDS TO STOP RESPONDING WITH 'YES' 'K' 'OKAY' 'YEAH' 'MMHMM' after everything the presenter is saying!!! Super distracting!
@exposeit9412
@exposeit9412 3 жыл бұрын
python a defective >? mind your words dude.
@randomfloppydisk6427
@randomfloppydisk6427 4 жыл бұрын
in fact this is fucking horrible and works terribly. today was the second and last time vscode corrupted and completely erased all content on a jupyter notebook file i was working on
Getting Started with Python in Visual Studio Code
32:48
Microsoft Visual Studio
Рет қаралды 237 М.
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 25 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
The Power of Polyglot Notebooks  | .NET Conf 2022
24:31
dotnet
Рет қаралды 6 М.
Learn Python AND Data Science in just an hour
1:12:32
Visual Studio Code
Рет қаралды 18 М.
How to Set up VS Code for Data Science & AI
22:53
Dave Ebbelaar
Рет қаралды 291 М.
Copilot + PowerShell + Polyglot Notebooks
52:26
Visual Studio Code
Рет қаралды 7 М.
My Python Development Environment Setup - Full Tutorial
20:39
Tech With Tim
Рет қаралды 216 М.
Top 18 Most Useful Python Modules
10:50
Tech With Tim
Рет қаралды 927 М.
Jupyter Lab is AWESOME For Data Science
14:12
NeuralNine
Рет қаралды 74 М.
R Markdown TUTORIAL | A powerful tool for LEARNING R (IN 45 MINUTES)
45:22
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 3,9 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 6 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,7 МЛН