Why I stopped using Jupyter Notebooks

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 63

  • @IustinDornescu
    @IustinDornescu 6 หลายเดือนก่อน +9

    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.

  • @juaneshberger9567
    @juaneshberger9567 7 หลายเดือนก่อน +25

    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 3 หลายเดือนก่อน +2

      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 3 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน

    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

  • @tech365ng
    @tech365ng 7 หลายเดือนก่อน +9

    Jupyter notebook can actually work with AI assistant like codeium same way you do in VSCode.

    • @zyphtron
      @zyphtron หลายเดือนก่อน +1

      Codeium is buggy in Jupyter notebook

  • @pawelkubik
    @pawelkubik 5 หลายเดือนก่อน +3

    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 หลายเดือนก่อน +1

    I had same problems!😅 This will help me so much!🎉

  • @xugefu
    @xugefu 7 หลายเดือนก่อน

    Thanks!

    • @daveebbelaar
      @daveebbelaar  7 หลายเดือนก่อน

      Thank you! 🙏🏻

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 6 วันที่ผ่านมา

    This is very true. I love the idea of Jupiter notebooks, and I've used them for years, but they not composable.

  • @michaelvarney.
    @michaelvarney. หลายเดือนก่อน

    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?

  • @amiralikulov9300
    @amiralikulov9300 7 หลายเดือนก่อน +5

    Cool. Is there anything simillar in PyCharm ?

    • @stevehenty6379
      @stevehenty6379 4 หลายเดือนก่อน +1

      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.

  • @ruperth.
    @ruperth. 3 หลายเดือนก่อน

    Thank you for sharing this is the type of thing a seasoned developer needs to hear.

  • @mememaster69-n4x
    @mememaster69-n4x 7 หลายเดือนก่อน +2

    If you use VS Code then you need to use your existing GPU/CPU but with collab you can use TPU AND GPU free

  • @donharrold1375
    @donharrold1375 11 วันที่ผ่านมา +1

    It depends on where you are on the learning curve. I personally love Jupyter notebooks.

  • @abc_cba
    @abc_cba 7 หลายเดือนก่อน +1

    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

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 6 วันที่ผ่านมา

    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

  • @GuanglinDu
    @GuanglinDu 5 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

    really good. thanks so much for teaching this feature I didnt know before. I like this more.

  • @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?

  • @bansonsolen5586
    @bansonsolen5586 3 หลายเดือนก่อน

    Thanks! For your info, I just dropped pycharm+jupyter, switch to vs now!

  • @micbab-vg2mu
    @micbab-vg2mu 7 หลายเดือนก่อน +1

    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?

  • @axhraf7712
    @axhraf7712 7 หลายเดือนก่อน +1

    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 2 หลายเดือนก่อน

    This methid is like using R. Thanks You! Now I can learn programming in Python sane as in R. Excellent trick ! 👏👏

  • @awakenwithoutcoffee
    @awakenwithoutcoffee 5 หลายเดือนก่อน

    Hi Dave, what VsTheme(s) are you using ? looking very clean. Like always, appreciate the sharing of your knowledge.

  • @gedtoon6451
    @gedtoon6451 5 หลายเดือนก่อน

    In Jupyter, why can I still not cut and paste text in a cell using the mouse?

  • @OscarQuintero-td8cy
    @OscarQuintero-td8cy 6 หลายเดือนก่อน

    Thank you , I'm following your suggestions

  • @NotRyan.
    @NotRyan. 3 หลายเดือนก่อน +5

    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.

  • @chongdashu
    @chongdashu 6 หลายเดือนก่อน

    Great tip, might migrate completely to this workflow. Jupyter Notebooks are great, but as you say, very clunky when approaching as a software engineer.

  • @mtin79
    @mtin79 5 หลายเดือนก่อน

    would this work with a deno kernel in a jupyter notebook too?

  • @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

  • @mememaster69-n4x
    @mememaster69-n4x 7 หลายเดือนก่อน

    i would recommend the google collab but only the runtime problem with free version

    • @parisneto
      @parisneto 4 หลายเดือนก่อน

      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 .

  • @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.

  • @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.

  • @ringpolitiet
    @ringpolitiet 7 หลายเดือนก่อน +2

    Agreed. It's the only way I work.

  • @davidmuller3849
    @davidmuller3849 2 หลายเดือนก่อน

    I don't get it 😅

  • @PerpetualPreponderer
    @PerpetualPreponderer 6 หลายเดือนก่อน +3

    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 หลายเดือนก่อน

      what to use instead ?

  • @realCleanK
    @realCleanK 7 หลายเดือนก่อน

    Thank you!

  • @oemmah
    @oemmah หลายเดือนก่อน

    i am so switching already

  • @richardt6347
    @richardt6347 วันที่ผ่านมา

    notebooks are amazing for DE.

  • @wayne7936
    @wayne7936 2 หลายเดือนก่อน

    This is amazing.

  • @millionsinmemecoins
    @millionsinmemecoins 2 หลายเดือนก่อน

    great tip

  • @prylypko
    @prylypko 7 วันที่ผ่านมา

    nbdev is all you need

  • @Besinnung
    @Besinnung 28 วันที่ผ่านมา

    Thanks for this fidio

  • @neuro-cinema
    @neuro-cinema 2 หลายเดือนก่อน

    Debuging with Jupyter Notebook? Hmm...

  • @tobymillerFPA
    @tobymillerFPA 6 หลายเดือนก่อน

    Rstudio FTW

  • @BielAltimiraTarter
    @BielAltimiraTarter 7 หลายเดือนก่อน

    nah

  • @Finezzato
    @Finezzato 7 หลายเดือนก่อน +2

    we don't give a fuck.

    • @ringpolitiet
      @ringpolitiet 7 หลายเดือนก่อน +5

      Why are you here, Sir?