Python Functions for Data Science / Data Analysis - P.5 @LukeBarousse
Python Functions for Data Science / Data Analysis - P.5  @LukeBarousse
Uploaded November 2020 | Updated September 2026, 5 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 an overview of how data scientists and data analysts frequently use function. We start with understanding the use case for functions and then take a look at Python's built-in functions. We then spend the majority of the time covering how to build functions and more complex aspects of functions, like the unpacking operator (*, **). Finally, we apply what we learn to build a function that counts the lines of specified actors from 'The Office' CSV dataset.

Playlist (Course) Material ๐Ÿ‘‰๐Ÿผ github.com/lukebarousse/Python_Intro

00:00 Intro
01:09 Use Case of Functions
04:41 Built-in Functions
06:06 Function Basics: Building Functions
08:06 Function Basics: Adding an Argument
09:38 Function Basics: Adding Arguments
10:47 Function Basics: Default Arguments
12:14 Function Basics: The 'return' Statement
13:25 Functions Advanced: *args - Iterable Unpacking
17:21 Functions Advanced: **kwargs - Dictionary Unpacking
18:26 Application of Functions: Overview
20:29 Application: Reading the CSV
22:50 Application: Counting lines in CSV
25:58 Application: Feeding the Function
28:01 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 #functions #python
Python Functions for Data Science / Data Analysis - P.5Rejection is never easy ๐Ÿ˜”Data Science shortcuts for MacWhat jobs are in Data Science? ๐Ÿค“Top Non-technical Skills for Business Intelligence ๐Ÿ“Š๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ปMac Vs PC - BEST for Data ScienceData Science with NO coding ๐Ÿ˜ณ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ปHacking data for my subscribersStaying Motivated in Data ScienceLearn PYTHON to be a DATA ANALYST?!? (or is R enough...)Popular SQL databases for data nerdsHow I Would Learn to be a Data Engineer
Luke Barousse |

Python Functions for Data Science / Data Analysis - P.5

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER