Using VS Code with Python for Data Science / Data Analysis - P.5

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 85

  • @andy97211
    @andy97211 Рік тому +12

    Hi Luke, I recently completed a 6 month data analytics bootcamp and have since been trying to incorporate what I've learned into my work. However, I've been struggling with foundational concepts such as setting up a proper working environment. I just came across your python setup series and it has been super helpful and was exactly what I was looking for. I look forward to watching more of your videos!

  • @candostyavuz8360
    @candostyavuz8360 3 роки тому +9

    As an FPGA engineer, I've been enjoying and learning a lot from your content lately. You make data science fun and doable. I really hope to see this channel reaches greater number of audience. Cheers!

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      Aw my dude, thanks so much for leaving this comment! It really helps motivate me to put out more content. I'm more happy that you're getting value out of my tutorials, stay tuned for this channels journey!

  • @umamiimamu
    @umamiimamu 9 місяців тому

    Thank you so much, i start leanr DA and try to set up the vscode for my studying journey, this series is a killer. love

  • @brianyi14
    @brianyi14 3 роки тому +4

    great series, really helped me understand how to use virtual environments with anaconda and how to use jupyter notebooks within VSCode. Loved the visuals as well

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      So glad you got use out of this Brian! Thanks for watching!

  • @Prasadavajjhala
    @Prasadavajjhala 2 роки тому +2

    Thank you Luke, for the series. This has cleared up so much confusion with virtual environments

  • @danquixote6072
    @danquixote6072 2 роки тому +3

    All I can say is thank God for these series of videos. But I honestly can't believe that well into the 21st century, you can't just open the program and start coding. It's like having to walk 5 miles to draw water from a well to take home just to make a cup of tea. Anyway, really appreciate the content, many thanks.

    • @LukeBarousse
      @LukeBarousse  2 роки тому +2

      I laughed reading this! 🤣 SO TRUE! Why do we make it so complex to get up and running with coding! But so glad you found my video useful!!

  • @pancakez2181
    @pancakez2181 Рік тому +1

    This was the series I needed to get started with Python 🙌

  • @alexpietzak33
    @alexpietzak33 3 роки тому +1

    Hello friend! I’m student of data science, and use python and R language.
    I’m from Brazil and followed in your channel, and in your personal site too.
    Congrats for your explanation! The better was R versus Python!

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      Ha! Glad you liked my recent skit on R vs Python! Thanks for following along!

  • @aissamboudra7995
    @aissamboudra7995 2 роки тому +1

    hi luke, many thanks for this useful series, it's my first steps in python word, i have a lot of data in my daily jobs and hope use python to make daily task more easier and go further in my analysis

  • @modoulaminceesay9211
    @modoulaminceesay9211 2 роки тому

    Thanks this helped me set up my macbook for machine learning since i needed python. Your videos are very helpful

  • @davidmiller-td1sl
    @davidmiller-td1sl 4 роки тому +2

    You made a difficult concept so much easier, thanks!

    • @LukeBarousse
      @LukeBarousse  4 роки тому

      Heck yeah! Thanks for the kind words Dave! #EatBig #CodeBigger

  •  3 роки тому +1

    This video was really helpful, your explanations were clear and easy to follow. Thank you very much!

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      Victor, thank you so much for this, I appreciate the kind words!!

  • @ahmedabdelfatah9340
    @ahmedabdelfatah9340 2 роки тому

    I really enjoyed this video series, your efforts are much appreciated.

  • @PabloDini
    @PabloDini 3 роки тому +1

    this video is gold!! Thank you!!!

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      Heck yeah! Thanks for this Pablo!

  • @adityaariewijaya9284
    @adityaariewijaya9284 4 роки тому

    This is amazing. I dont use VSCode before, the adds on is kinda awesome.

    • @LukeBarousse
      @LukeBarousse  4 роки тому

      Thanks Aditya!! Appreciate it. For being a free software its crazy what you get included with it (and the add-ons).

  • @M_le-n4r
    @M_le-n4r 7 місяців тому

    In the jupyter notebook, how do you get the cell highlighted with the thick blue line ? Is this also an extension?

  • @pkprasads
    @pkprasads Рік тому

    Thank you so much. Very informative

  • @shanygnedowney
    @shanygnedowney 3 роки тому

    thanks for the information, really helpful

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      Heck yeah! So glad you found it informative!!

  • @matiassanchez3539
    @matiassanchez3539 Рік тому

    Hi Luke thanks a lot. I'm wonder how can I do to put everything (the conda enviroment with the packages) into my project folder. I mean, if I want to send my project to someone to execute it in his computer ¿what is the best way to do this? thank you!

  • @laxmanaryal5958
    @laxmanaryal5958 3 роки тому

    Thanks luke it was wonderful

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      Awe thanks my dude!! Appreciate it!

  • @alexhristache
    @alexhristache 4 роки тому +1

    Really useful, thank you!

    • @LukeBarousse
      @LukeBarousse  4 роки тому +1

      Thanks, Alex! Appreciate the kind word. 🤙🏼

  • @fvc1612
    @fvc1612 Рік тому

    I have one question. I can run Jupyter Notebooks in VSCode but the layout is too different. How can I get that one?

  • @sary6256
    @sary6256 3 роки тому

    Thanks very useful video!

  • @basrikomaruf6221
    @basrikomaruf6221 2 роки тому +1

    hello luke nice to know you, your video is very good for me who is newbie in statistics.
    I'd like to ask if you don't use tools like SPSS, Minitab, SAS, or R to process the data as a data analyst. Thank you

  • @Ada23c
    @Ada23c 3 роки тому +2

    If you still cannot get Pylint to work after installing and reloading your environment, add the code below to the your user settings.json file...
    ctrl + shift + p
    Select settings.json
    "python.linting.enabled": true,
    "python.linting.pylintEnabled": true,
    "python.linting.pylintUseMinimalCheckers": false,

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      Awesome! Thanks for sharing this Colt!!!

  • @siarheizakharau4846
    @siarheizakharau4846 2 роки тому

    Hi, Luke! Great video! Thank you!
    What language server do you use? I have default server(Pylance) and in the case of error I get two error messages: one by Pylance and the second by Pylint. How to use only Pylint?
    Also, using Pylance Ianguage server I get autosuggestions, bit have no snippets, so I need tot type everything by hand. How can I fix it?

  • @tanialoza4285
    @tanialoza4285 2 роки тому

    Hi Luke! Can we use the same process you explained on the video to create a virtual environment for a jupyter notebook?

    • @LukeBarousse
      @LukeBarousse  2 роки тому +1

      Yes and you can run jupyter notebooks in VS code... it's actually my preferred method

  • @mutukukyenze3726
    @mutukukyenze3726 3 роки тому

    very nice tutorial Thanks

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      Thanks Mutuku! I appreciate the kind words my friend!

  • @Digital-Light
    @Digital-Light 2 роки тому

    thank you !

  • @nicolasaladino8729
    @nicolasaladino8729 3 роки тому +2

    Congratulations on the channel! I have a question, how do you set up the terminal like yours, when you start typing it autocompletes and suggests you how to finish the script, in light gray?
    Currently it only works for me by pressing e tab, but not always.
    I have a mac. Thanks!

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      I use zsh as my shell, so I installed autosuggestion. Here is the link to the install page: github.com/zsh-users/zsh-autosuggestions

    • @rodrigodemarchi1184
      @rodrigodemarchi1184 2 роки тому

      @@LukeBarousse How do we install it? I'm super lost

    • @LukeBarousse
      @LukeBarousse  2 роки тому +1

      @@rodrigodemarchi1184 I don't have a video on installing this unfortunately... but I think there a lot of good videos on UA-cam that can help you

  • @AJ-et3vf
    @AJ-et3vf Рік тому

    Great video! Thank you!

  • @PaxSanguina
    @PaxSanguina 3 роки тому

    15:32 is that control + option + N on Mac?

  • @lilianavictoriaalvaradogar6054
    @lilianavictoriaalvaradogar6054 2 роки тому

    Question - I am inputting in the terminal 'conda install pandas' and the command runs through and says all packages are installed. Yet, when I run the code in jupyter, I still get "no module named panas"

    • @LukeBarousse
      @LukeBarousse  2 роки тому

      It sounds like you are not in the right environment; mainly the terminal environment and the jupyter notebook environment are not the same

  • @unintension
    @unintension 3 роки тому

    Why do you suggest creating a new environment for each new project? Does that mean that you have to install special packages again in that new env?

    • @LukeBarousse
      @LukeBarousse  3 роки тому +2

      Correct. different projects will have different package needs... you will eventually run into package conflicts if you run all projects from one envirornment as over time packages update and change

  • @zakeyaalsada616
    @zakeyaalsada616 3 роки тому

    Hi, Thank you for the video and your efforts. I am new to python and VS code... I didn't quiet understand the virtual environment and conda part. Is there a video you recommend me watching? thanks

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      Hi Zakeya, Thanks so much for the kind words!! Congrats on starting this journey. If you want to learn more about venv and conda check out this video: ua-cam.com/video/qI0uJsLweoM/v-deo.html
      Additionally, this video is part of a serious that may be beneficial for you to check out: ua-cam.com/play/PL_CkpxkuPiT9udgCeqZpS4HKF6uIzra3r.html

  • @manujjoshi1682
    @manujjoshi1682 3 роки тому

    The video has been really helpful. Your efforts are much appreciated.
    Question: When I try to export the jupyter notebook to pdf in vs code, it always shows an error "Export failed, please check jupyter output panel for further details". I am new to programming and data science & I can't figure out the solution to this problem. Can you help?

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      I'm not to sure on this one. I highly recommend googling your error as this usually results in some forums that discuss the area. Doing a quick search I found this issue report that may be related: github.com/microsoft/vscode-jupyter/issues/710

  • @0o_KASHIII_o0
    @0o_KASHIII_o0 2 роки тому

    Hi Luke, thanks for these awesome series. One thing I don't understand though, where is the best place to keep the created virtual environment files/ folder (containing packages and libraries) in relation to your project folder or it doesn't really matter? From your example the virtual environment stuffs were created and kept outside projectexample folder, no? Or perhaps I don't need to worry about this at all? A bit confusing when you start playing with venv, virtualenv, conda and they all create their virtual environment folder all over the places :)

    • @LukeBarousse
      @LukeBarousse  2 роки тому +1

      Anaconda stores them in their own directory or folder... You don't choose, so it's not something I really have to worry about.

  • @laugedyret
    @laugedyret 3 роки тому

    Cool - thanks!

  • @Z3DZ3R0
    @Z3DZ3R0 2 роки тому

    Hi Luke! I am used to work with R and markdown which has similar code cells and the output below them, however, in R+markdown I can run just the line where my cursor is on even if it is in a code cell using CMD + Enter, instead of the whole code cell. Is there some way I can do that in Jupyter notebooks? I searched a bit and someone suggested I should install a debugger since that is what it is called but I still have no luck in doing this.
    Interesting videos, keep up the good work!

    • @LukeBarousse
      @LukeBarousse  2 роки тому +1

      I don't think that this is possible in Jupyter notebooks... although I may be wrong. I do remember this being in the R functionality, but after switching over to Python, I've never found a need to only run a single line (vice the cell)

    • @Z3DZ3R0
      @Z3DZ3R0 2 роки тому

      @@LukeBarousse Thank you for answering!

  • @pantherking6857
    @pantherking6857 3 роки тому

    I have a question, when I use jupyter the syntax colours are like dark blue for keywords and operators, dark red for strings,etc. Which is undreadable in dark mode, how can I fix that.

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      I'm actually not to sure on this. It's most likely able to change but would have to google it.

    • @pantherking6857
      @pantherking6857 3 роки тому

      @@LukeBarousse alright thanks, just found out the reason was because Linux version of the app doesn't automatically adjust the syntax colours for the themes

  • @joshuabretana
    @joshuabretana Рік тому

    when i get really good at python, ill get a set of shirts and pants ALL of the same color and style!

  • @SuperMihalaras
    @SuperMihalaras 3 роки тому

    When i import pandas i always get an error that the module is not recognized.. I want to note that i already installed anaconda and the pandas module but i get the same error. I would appreciate a lot some help

    • @LukeBarousse
      @LukeBarousse  3 роки тому +1

      You need to ensure that your jupyter notebook (or python file) is operating in the same anaconda environment that you installed pandas within. If you're not in this environment it will tell you that the module isn't available.

  • @MaxamedAxmed-h9e
    @MaxamedAxmed-h9e Рік тому

    We need make a video about making graphs and pie chart😂using visual code with python

  • @GG-yk2nc
    @GG-yk2nc 3 роки тому

    what about Spyder?

    • @LukeBarousse
      @LukeBarousse  3 роки тому

      I think Spyder is a great IDE, but I perfer VS Code as I routinely work with other languages and VS code seems better for this

  • @yevgeniybondar7509
    @yevgeniybondar7509 3 роки тому

    LIKE

  • @AlexBerkk
    @AlexBerkk 3 роки тому

    the guy kinda looks like a fraternity version of Donald Trump