Why I stopped using Jupyter Notebooks

  Рет қаралды 34,316

Dave Ebbelaar

Dave Ebbelaar

Күн бұрын

Пікірлер: 69
@IustinDornescu
@IustinDornescu 7 ай бұрын
It's a good practice to have most of the code in python files - benefiting from the IDE of your choice, and separate reporting to notebooks focused on presentation. The mix of code (functionality) vs reporting (visualisation) depends on the data science project.
@HmongCrypto
@HmongCrypto 14 күн бұрын
This video and workflow is great, however you're also right about that. It depends what you're doing. I will be looking forward to trying to adapt to this workflow in the future. Thanks, the both of ya
@juaneshberger9567
@juaneshberger9567 7 ай бұрын
I used to use jupyter notebooks for everything back in college as well (even stats/math homework). Switched to using neovim and the ipython shell in the terminal, once you learn neovim using the terminal becomes so much faster than jupyter in vscode. Also you can use kitty terminal to display plots in the terminal and termpandas to have scrollable dataframes like in vscode jupyter, all in the terminal. (i3 window manager/tmux also make the workflow so much faster and enjoyable.)
@KamKamKamKam
@KamKamKamKam 4 ай бұрын
Can it display images directly (using matplotlib or something)? What plugins are needed? I'm also trying to move my jupyter work flow into neovim.
@juaneshberger9567
@juaneshberger9567 4 ай бұрын
@@KamKamKamKam yes kitty terminal allows for displaying images directly in the terminal its pretty cool (save to png and then use os.system("kitty icat fig.png"), python package termpandas (I created it) allows scrollable data frames in the terminal, and ipython shell allows for the whole REPL experience in python. All inside the terminal. The only thing I have not been able to get to work have been interactive html plots in the terminal like plotly express. However, the best data science experience for this in my opinion is split screen neovim and having a streamlit dashboard that automatically updates on save on the other side of the screen. This allows for moving super fast in neovim on the left side of the screen (also using i3 window manager to move around) and a browser with a streamlit app so I can have fully interactive dataframes, plots, filters, and basically any web technology in the streamlit app. Let me know if you are more interested in my setup, I could probably write a medium blog or something explaining my setup, and listing the list of tools/packages I use.
@slayga
@slayga 5 ай бұрын
This makes so much sense! I am only just beginning my python journey and am loving your videos. Finding information like this so early on for me seems invaluable to build better habits now with regards to best practices and efficient workflows
@xugefu
@xugefu 7 ай бұрын
Thanks!
@daveebbelaar
@daveebbelaar 7 ай бұрын
Thank you! 🙏🏻
@TreeLuvBurdpu
@TreeLuvBurdpu Ай бұрын
This is very true. I love the idea of Jupiter notebooks, and I've used them for years, but they not composable.
@tech365ng
@tech365ng 7 ай бұрын
Jupyter notebook can actually work with AI assistant like codeium same way you do in VSCode.
@zyphtron
@zyphtron 2 ай бұрын
Codeium is buggy in Jupyter notebook
@WhiteGaming5883
@WhiteGaming5883 22 күн бұрын
i started with R, and i'm having a hard time to get used to notebook workflow so this basically helped a lot~! thanks~!
@erikjohnson9112
@erikjohnson9112 14 күн бұрын
While I am about to get into Marimo, I also found your tips about interactive Python along side code very interesting and something I've been missing out on big time.
@pawelkubik
@pawelkubik 6 ай бұрын
You can also use #%% comments to mark sections of your code as "cells" that would be executed as a whole with the keybinding. I'm not sure if this "run cell" does not conflict with "run line/selection" on some platforms, but you can fix that in the config.
@sio-salt8979
@sio-salt8979 2 ай бұрын
I had same problems!😅 This will help me so much!🎉
@amiralikulov9300
@amiralikulov9300 7 ай бұрын
Cool. Is there anything simillar in PyCharm ?
@stevehenty6379
@stevehenty6379 4 ай бұрын
Python Smart Execute. I have no direct experience using it, but it apparently runs code blocks in a console window using a Jupyter cell behind the scenes. Requires the Jupyter plugin to be installed.
@NotRyan.
@NotRyan. 4 ай бұрын
this video is for the people who are already expert in data analysis. letting ya'll new analyst like me before you start watching the video.
@ruperth.
@ruperth. 4 ай бұрын
Thank you for sharing this is the type of thing a seasoned developer needs to hear.
@OscarQuintero-td8cy
@OscarQuintero-td8cy 7 ай бұрын
Thank you , I'm following your suggestions
@GuanglinDu
@GuanglinDu 6 ай бұрын
I couldn't agree with you more, Dave. Thanks for your informative video on how to use my favorite IDE VS Code with Jupyter Notebooks. This combination seems to be the best duet for data scientific research.
@divyabhatia9916
@divyabhatia9916 3 ай бұрын
really good. thanks so much for teaching this feature I didnt know before. I like this more.
@bansonsolen5586
@bansonsolen5586 3 ай бұрын
Thanks! For your info, I just dropped pycharm+jupyter, switch to vs now!
@awakenwithoutcoffee
@awakenwithoutcoffee 6 ай бұрын
Hi Dave, what VsTheme(s) are you using ? looking very clean. Like always, appreciate the sharing of your knowledge.
@gedtoon6451
@gedtoon6451 6 ай бұрын
In Jupyter, why can I still not cut and paste text in a cell using the mouse?
@michaelvarney.
@michaelvarney. 2 ай бұрын
In matlab you are able to define a code block with a ‘##’ that once you are inside it you can shift-enter and it will run. You can also have a variable explorer window. I wonder if there is such functionality in VSCode?
@abc_cba
@abc_cba 7 ай бұрын
I completely moved to google colab to save RAM and space being overused by Jupyter, only while complex coding do i use vscode else, even docker images are my option
@stevehenty6379
@stevehenty6379 4 ай бұрын
I'm curious if this style of coding creates any lingering limitations or style / organization choices in your "pure" python files due to the holdover of executing "cells" of code during the development cycle. Stated differently, do you find that any production-ready refactoring is necessary after the functionality is ironed out using Jupyter-esque interactive coding?
@donharrold1375
@donharrold1375 Ай бұрын
It depends on where you are on the learning curve. I personally love Jupyter notebooks.
@micbab-vg2mu
@micbab-vg2mu 7 ай бұрын
Definitely, I prefer your workflow over Jupyter Notebook. I am in the phase of testing Cursor, which is similar to VS Code but has some more AI features.
@daveebbelaar
@daveebbelaar 7 ай бұрын
How do you like it so far?
@Liinyun
@Liinyun 22 күн бұрын
Is there anything same in nvim? I'm looking for a plugin like this
@axhraf7712
@axhraf7712 7 ай бұрын
I'm assuming you don't do any heavy pytorch stuff where you need a GPU? Or do you just run them on your mac?
@daveebbelaar
@daveebbelaar 7 ай бұрын
I typically use Azure for that, but I don't often have to run very heavy models.
@patricior7300
@patricior7300 3 ай бұрын
This methid is like using R. Thanks You! Now I can learn programming in Python sane as in R. Excellent trick ! 👏👏
@chongdashu
@chongdashu 7 ай бұрын
Great tip, might migrate completely to this workflow. Jupyter Notebooks are great, but as you say, very clunky when approaching as a software engineer.
@mememaster69-n4x
@mememaster69-n4x 7 ай бұрын
If you use VS Code then you need to use your existing GPU/CPU but with collab you can use TPU AND GPU free
@TreeLuvBurdpu
@TreeLuvBurdpu Ай бұрын
Isn't there an .ipy file type or something. There like Python built-in interactive file type, i think. And you can click one segment at a time. I think it was the basis of .ipynb
@mtin79
@mtin79 6 ай бұрын
would this work with a deno kernel in a jupyter notebook too?
@mememaster69-n4x
@mememaster69-n4x 7 ай бұрын
i would recommend the google collab but only the runtime problem with free version
@parisneto
@parisneto 5 ай бұрын
You can start Jupyter Server in your local machine and connect Colab to a local environment, awesome ! But doesn’t solve the Jupyter notebook challenges, but it’s a much better IDE than VS Code with some many "Microsoft UX” that forces you to adapt in a non efficient way ,plugins and environment challenges…. Modularizing the code and using GIT helps a lot in my experience .
@realCleanK
@realCleanK 7 ай бұрын
Thank you!
@filipfloegel3718
@filipfloegel3718 18 күн бұрын
@dave did you try aider with your workflow. I think that could work for us data people working with vs code supported by ai
@davidmuller3849
@davidmuller3849 3 ай бұрын
I don't get it 😅
@ringpolitiet
@ringpolitiet 7 ай бұрын
Agreed. It's the only way I work.
@John-xi2im
@John-xi2im 7 ай бұрын
I am bounded to use jupyter notebooks because of low level processor (AMD Athlon Silver 3050U) which is present in low priced laptops, as I am searching for a job, I had less money hence I bought this laptop.
@richardbennett4365
@richardbennett4365 7 ай бұрын
One can use marimo instead of juoyter, or one can even make Code use a notebook. I think the presenter did the latter, but not marimo.
@prison9865
@prison9865 2 ай бұрын
Mate, thanks a lot for this. I never liked Jupiter notebooks and I’m glad I’m not the only one haha. Either way, how would you send your structured codes in different python files to cloud computing if you wanted to use that
@PerpetualPreponderer
@PerpetualPreponderer 7 ай бұрын
There’s something I’ve been struggling to understand. Why do so many indie devs, especially those not using windows, continue to use vs code? Unless you’re living under a rock, and even a dev living under a rock would know this, it’s pretty much a given that whatever you type is being shipped off via telemetry, and that then opens up the risk of people with way more resources at their disposal, to simply copy, iterate quickly on whatever you’re building, and bring it to market before you’ve even had a chance to test. What gives??
@gvm271
@gvm271 2 ай бұрын
what to use instead ?
@Cyril...
@Cyril... 21 сағат бұрын
That is why there is Jupyter lab, all the issues u are talking about has been addressed in jupyter lab
@millionsinmemecoins
@millionsinmemecoins 3 ай бұрын
great tip
@oemmah
@oemmah 2 ай бұрын
i am so switching already
@wayne7936
@wayne7936 3 ай бұрын
This is amazing.
@Besinnung
@Besinnung Ай бұрын
Thanks for this fidio
@jeffrey5602
@jeffrey5602 23 күн бұрын
Jupyter Notebooks are only bad if its the only thing you use. For exploration and prototyping its king. Also VS Code sucks still big time when it comes to NBs. So many things not showing properly or kernels not restarting properly, not releasing memory when training torch models. I use neovim for coding and jupyter lab for exploration. They serve two very different stages of my projects
@richardt6347
@richardt6347 28 күн бұрын
notebooks are amazing for DE.
@prylypko
@prylypko Ай бұрын
nbdev is all you need
@tobymillerFPA
@tobymillerFPA 7 ай бұрын
Rstudio FTW
@BielAltimiraTarter
@BielAltimiraTarter 7 ай бұрын
nah
@Finezzato
@Finezzato 7 ай бұрын
we don't give a fuck.
@ringpolitiet
@ringpolitiet 7 ай бұрын
Why are you here, Sir?
The Ultimate VS Code Setup for Data & AI Projects
32:00
Dave Ebbelaar
Рет қаралды 51 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 412 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Best Python Libraries for AI Engineering in 2025
19:57
Dave Ebbelaar
Рет қаралды 18 М.
8 Rules For Learning to Code in 2025...and should you?
12:59
Travis Media
Рет қаралды 213 М.
Google's 9 Hour AI Prompt Engineering Course In 20 Minutes
20:17
Tina Huang
Рет қаралды 162 М.
Not even close | M4 Max vs Razer Blade 18
18:10
Alex Ziskind
Рет қаралды 167 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 259 М.
How I'd Learn AI in 2025 (if I could start over)
17:55
Dave Ebbelaar
Рет қаралды 1,2 МЛН
Jupyter Notebooks vs Python Scripts | When to Use Which?
13:07
ArjanCodes
Рет қаралды 53 М.
RAG vs. Fine Tuning
8:57
IBM Technology
Рет қаралды 119 М.
It's Really Just That Bad
57:49
ThePrimeTime
Рет қаралды 240 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН