Тёмный

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

Luke Barousse
Подписаться 452 тыс.
Просмотров 72 тыс.
50% 1

Python Fundamentals Course (DataCamp) 👉🏼 lukeb.co/PythonBasicsDataCamp
Data Analyst Track w/ Python (DataCamp) 👉🏼 lukeb.co/PythonAnalystDataCamp
(My recommended courses that I took to learn Python!)
For this video we cover how data analysts and data scientists set up and use Visual Studio Code (VS Code) with Python. For this we cover the basics of controls and other important features you should be using during development. Finally, we wrap things up with covering how to use Jupyter Notebooks inside VS Code.
My playlist for starting Python 👉🏼 • Python Setup
Download Python w/ Anaconda here 👉🏼 www.anaconda.com/products/ind...
Download VS Code here 👉🏼 code.visualstudio.com/download
Certificates & Courses
==================================
Coursera Courses:
📜 Google Data Analytics Certificate (START HERE) 👉🏼 lukeb.co/GoogleCert
💿 SQL for Data Science 👉🏼 lukeb.co/SQLdataScience
🧾 Excel Skills for Business 👉🏼 lukeb.co/ExcelBusinessAnalyst
🐍 Python for Everybody 👉🏼 lukeb.co/PythonForEverybody
📊 Data Visualization with Tableau 👉🏼 lukeb.co/Tableau_UCDavis
🏴‍☠️ Data Science: Foundations using R 👉🏼 lukeb.co/RforDataScienceJH
Coursera Plus Subscription (7-day free trial) 👉🏼 lukeb.co/CourseraPlus
DataCamp Courses:
🐍 Python 👉🏼 lukeb.co/PythonBasicsDataCamp
📈 Power BI 👉🏼 lukeb.co/PowerBIDataCamp
📊 Tableau 👉🏼 lukeb.co/TableauDataCamp
🏴‍☠️ R 👉🏼 lukeb.co/RDataCamp
🐍 Data Analyst w/ Python 👉🏼 lukeb.co/PythonAnalystDataCamp
DataCamp Subscription (Monthly $25USD) 👉🏼 lukeb.co/DataCampSub
👨🏼‍🏫 All courses 👉🏼 kit.co/lukebarousse/data-anal...
My Tech for Data Science
(Includes Amazon Affiliate Links)
==================================
💻 Dell New XPS 13 (PC of choice) 👉🏼 geni.us/DellNewXPS13
💻 Dell New XPS 15 👉🏼 geni.us/DellNewXPS15
👨🏼‍💻 M1 Macbook Air 8GB (Mac of choice) 👉🏼 geni.us/M1macAir8GB
👨🏼‍💻 M1 Macbook Pro 8GB 👉🏼 geni.us/M1macPro8GB
🔌 Must-have Mac dock 👉🏼 geni.us/CalDigitTS3
🖥 M1 Multiple monitor adapter 👉🏼 geni.us/DisplayLinkAdapter
⌨️ Mac Keyboard 👉🏼 geni.us/MacMagicKeyboard
🖱 Mac Mouse 👉🏼 geni.us/MacMagicMouse
💾 Small (1TB) External HD 👉🏼 geni.us/WDelements1TB
💾 Large (14TB) External HD 👉🏼 geni.us/WDelements14TB
🏢 Standing Desk 👉🏼 geni.us/StandingDeskFezibo
📗 Data Science Must Read 👉🏼 geni.us/StorytellingWithData
📸 Camera of Choice 👉🏼 geni.us/SonyA6600body
For computers, I recommend checking the manufacturer's website (i.e., dell.com) for deals/rebates
Social Media / Contact Me
======================
🙋🏼‍♂️Website: www.lukebarousse.com/
🌄 Instagram: / lukebarousse
⏰ TikTok: / lukebarousse
📘 Facebook: / datavizbyluke
📥 Business Inquiries: luke@lukebarousse.com
As an Amazon Associate, I earn a small commission from qualifying purchases on the Amazon links above. It costs you nothing but helps me in keeping the content coming.
00:00 Intro
01:21 Starting a new project
06:10 Running Python
06:44 Linting w/ Pylint
09:57 Formatting (IAW pep8)
14:33 Enabling extensions
15:57 Zoom in/out
16:23 Search / find & replace
17:14 Source control
18:49 Debugging
22:22 Launching Jupyter Notebooks
23:21 Running code in Jupyter Notebook
26:40 Conclusion & Recap
#vscode #pythontutorial #datavisualization

Хобби

Опубликовано:

 

14 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 85   
@andy97211
@andy97211 Год назад
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!
@pancakez2181
@pancakez2181 Год назад
This was the series I needed to get started with Python 🙌
@thanhninh2863
@thanhninh2863 3 месяца назад
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
@candostyavuz8360
@candostyavuz8360 3 года назад
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 года назад
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!
@aissamboudra7995
@aissamboudra7995 Год назад
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
@brianyi14
@brianyi14 3 года назад
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 Год назад
Thank you Luke, for the series. This has cleared up so much confusion with virtual environments
@LukeBarousse
@LukeBarousse Год назад
Great to hear Prasada!
3 года назад
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!!
@davidmiller-td1sl
@davidmiller-td1sl 3 года назад
You made a difficult concept so much easier, thanks!
@LukeBarousse
@LukeBarousse 3 года назад
Heck yeah! Thanks for the kind words Dave! #EatBig #CodeBigger
@pkprasads
@pkprasads Год назад
Thank you so much. Very informative
@ahmedabdelfatah9340
@ahmedabdelfatah9340 Год назад
I really enjoyed this video series, your efforts are much appreciated.
@LukeBarousse
@LukeBarousse Год назад
Thank you very much, Ahmed!
@PabloDini
@PabloDini 2 года назад
this video is gold!! Thank you!!!
@LukeBarousse
@LukeBarousse 2 года назад
Heck yeah! Thanks for this Pablo!
@alexhristache
@alexhristache 3 года назад
Really useful, thank you!
@LukeBarousse
@LukeBarousse 3 года назад
Thanks, Alex! Appreciate the kind word. 🤙🏼
@modoulaminceesay9211
@modoulaminceesay9211 Год назад
Thanks this helped me set up my macbook for machine learning since i needed python. Your videos are very helpful
@LukeBarousse
@LukeBarousse Год назад
Glad I could help Modoulamin!
@adityaariewijaya9284
@adityaariewijaya9284 3 года назад
This is amazing. I dont use VSCode before, the adds on is kinda awesome.
@LukeBarousse
@LukeBarousse 3 года назад
Thanks Aditya!! Appreciate it. For being a free software its crazy what you get included with it (and the add-ons).
@laxmanaryal5958
@laxmanaryal5958 3 года назад
Thanks luke it was wonderful
@LukeBarousse
@LukeBarousse 3 года назад
Awe thanks my dude!! Appreciate it!
@Digital-Light
@Digital-Light Год назад
thank you !
@shanygnedowney
@shanygnedowney 2 года назад
thanks for the information, really helpful
@LukeBarousse
@LukeBarousse 2 года назад
Heck yeah! So glad you found it informative!!
@alexpietzak33
@alexpietzak33 3 года назад
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 года назад
Ha! Glad you liked my recent skit on R vs Python! Thanks for following along!
@AJ-et3vf
@AJ-et3vf Год назад
Great video! Thank you!
@sary6256
@sary6256 2 года назад
Thanks very useful video!
@LukeBarousse
@LukeBarousse 2 года назад
Glad it was helpful!
@laugedyret
@laugedyret 2 года назад
Cool - thanks!
@LukeBarousse
@LukeBarousse 2 года назад
Thanks peter!!
@mutukukyenze3726
@mutukukyenze3726 3 года назад
very nice tutorial Thanks
@LukeBarousse
@LukeBarousse 3 года назад
Thanks Mutuku! I appreciate the kind words my friend!
@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?
@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!
@M_le-n4r
@M_le-n4r Месяц назад
In the jupyter notebook, how do you get the cell highlighted with the thick blue line ? Is this also an extension?
@bondxxx7
@bondxxx7 3 года назад
Amazing video. Thanks for that. Everything works as you explained except the intellisense in jupyter notebook that doesn't seem to work for me. I am using VSCode version 1.54.3.
@LukeBarousse
@LukeBarousse 3 года назад
Really the intellisense isn't working? I wonder if you have to reset the VS code for it to work? I don't remember having this issue.
@danquixote6072
@danquixote6072 2 года назад
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 года назад
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!!
@nicolasaladino8729
@nicolasaladino8729 3 года назад
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 года назад
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 года назад
@@rodrigodemarchi1184 I don't have a video on installing this unfortunately... but I think there a lot of good videos on RU-vid that can help you
@basrikomaruf6221
@basrikomaruf6221 2 года назад
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
@LukeBarousse
@LukeBarousse 2 года назад
Yeah I'm a fan of SAS and R
@Not_Lactoselntolerant
@Not_Lactoselntolerant Год назад
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 Год назад
Anaconda stores them in their own directory or folder... You don't choose, so it's not something I really have to worry about.
@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 года назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qI0uJsLweoM.html Additionally, this video is part of a serious that may be beneficial for you to check out: ru-vid.com/group/PL_CkpxkuPiT9udgCeqZpS4HKF6uIzra3r
@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 года назад
Yes and you can run jupyter notebooks in VS code... it's actually my preferred method
@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 года назад
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!
@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
@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?
@oldsmar1983
@oldsmar1983 3 года назад
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!!!
@unintension
@unintension 2 года назад
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 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
@joshuabretana
@joshuabretana Год назад
when i get really good at python, ill get a set of shirts and pants ALL of the same color and style!
@user-qc1ex7hh2c
@user-qc1ex7hh2c Год назад
We need make a video about making graphs and pie chart😂using visual code with python
@PaxSanguina
@PaxSanguina 3 года назад
15:32 is that control + option + N on Mac?
@LukeBarousse
@LukeBarousse 3 года назад
Yeah! That what I ran this on.
@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
@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
@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 года назад
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.
@GG-yk2nc
@GG-yk2nc 2 года назад
what about Spyder?
@LukeBarousse
@LukeBarousse 2 года назад
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 2 года назад
LIKE
@LukeBarousse
@LukeBarousse 2 года назад
thanks!
@AlexBerkk
@AlexBerkk 3 года назад
the guy kinda looks like a fraternity version of Donald Trump
@LukeBarousse
@LukeBarousse 3 года назад
😂🤣
Далее
Exploratory Data Analysis with Pandas Python
40:22
Просмотров 441 тыс.
МНЕ ИСПОРТИЛИ МАШИНУ #shorts
00:30
Просмотров 1,4 млн
Этот Пёс Кое-Что Наделал 😳
00:31
How to Set up VS Code for Data Science & AI
22:53
Просмотров 283 тыс.
5 Useful F-String Tricks In Python
10:02
Просмотров 276 тыс.
VSCode's Python Interactive mode is AMAZING!
6:58
Просмотров 346 тыс.
Setting Up Your Python Data Science Environment
1:03:52
How I'd Learn to be a Data Analyst in 2024
13:17
Просмотров 249 тыс.
Learn Python AND Data Science in just an hour
1:12:32
Просмотров 17 тыс.
Data Analysis with Python for Excel Users - Full Course
3:57:46
Simulating the Evolution of Rock, Paper, Scissors
15:00
Всегда проверяйте зеркала
0:21