Uploaded November 2020 | Updated September 2026, 7 hours ago
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!)
This video provides and overview of how loops (for and while) are used by data scientist and data analysts. In this tutorial we take time to cover for and while loops and how they are used with different built in functions such as: range(), enumerate(), & .items(). Additionally, we cover loop control statements: break, continue, pass. Finally, we combine what we learned to analyze the script from the popular TV show "The Office" to find lines that contain: That's what she said.
Playlist (Course) Material ๐๐ผ github.com/lukebarousse/Python_Intro
00:00 Intro
00:41 For Loops - The basics
02:08 For Loops - range() function
03:07 For Loops - Iterating over objects
03:53 For Loops - Iterating over a dictionary
06:10 For Loops - enumerate() function
08:01 While Loops - The basics
09:20 While Loops - More complex
10:17 Loop Control Statements - break
11:43 Loop Control Statements - continue
12:29 Loop Control Statements - pass
13:02 Application: Analyzing "The Office" script
14:54 Application: Read the CSV
17:04 Application: Insert Column from CSV in list
19:42 Application: Find "That's what she said"
22:50 Conclusion
Basics of Python playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT8zTx9XO9jFf4PQ0iwBWfXB
Setting up Python on your computer playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT9udgCeqZpS4HKF6uIzra3r
Recommended Certificates/Courses (Affiliate Links)
==================================
DataCamp:
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
Coursera:
Google Data Analytics Certificate (BEGINNERS START HERE) ๐๐ผ lukeb.co/GoogleCert
Python for Everybody ๐๐ผ lukeb.co/PythonForEverybody
SQL ๐๐ผ lukeb.co/PostgresSQLUofM
Coursera Plus Subscription (Monthly $59USD) ๐๐ผ lukeb.co/CourseraMonthly
Coursera Plus Subscription (Annual $399USD) ๐๐ผ lukeb.co/CourseraYearly
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: lukebarousse.com
๐ Instagram: instagram.com/lukebarousse
โฐ TikTok: tiktok.com/@lukebarousse
๐ Facebook: facebook.com/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.
#pythontutorial #datavisualization #python
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!)
This video provides and overview of how loops (for and while) are used by data scientist and data analysts. In this tutorial we take time to cover for and while loops and how they are used with different built in functions such as: range(), enumerate(), & .items(). Additionally, we cover loop control statements: break, continue, pass. Finally, we combine what we learned to analyze the script from the popular TV show "The Office" to find lines that contain: That's what she said.
Playlist (Course) Material ๐๐ผ github.com/lukebarousse/Python_Intro
00:00 Intro
00:41 For Loops - The basics
02:08 For Loops - range() function
03:07 For Loops - Iterating over objects
03:53 For Loops - Iterating over a dictionary
06:10 For Loops - enumerate() function
08:01 While Loops - The basics
09:20 While Loops - More complex
10:17 Loop Control Statements - break
11:43 Loop Control Statements - continue
12:29 Loop Control Statements - pass
13:02 Application: Analyzing "The Office" script
14:54 Application: Read the CSV
17:04 Application: Insert Column from CSV in list
19:42 Application: Find "That's what she said"
22:50 Conclusion
Basics of Python playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT8zTx9XO9jFf4PQ0iwBWfXB
Setting up Python on your computer playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT9udgCeqZpS4HKF6uIzra3r
Recommended Certificates/Courses (Affiliate Links)
==================================
DataCamp:
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
Coursera:
Google Data Analytics Certificate (BEGINNERS START HERE) ๐๐ผ lukeb.co/GoogleCert
Python for Everybody ๐๐ผ lukeb.co/PythonForEverybody
SQL ๐๐ผ lukeb.co/PostgresSQLUofM
Coursera Plus Subscription (Monthly $59USD) ๐๐ผ lukeb.co/CourseraMonthly
Coursera Plus Subscription (Annual $399USD) ๐๐ผ lukeb.co/CourseraYearly
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: lukebarousse.com
๐ Instagram: instagram.com/lukebarousse
โฐ TikTok: tiktok.com/@lukebarousse
๐ Facebook: facebook.com/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.
#pythontutorial #datavisualization #python










