Skip to main content

Python Functions for Data Science

Python Functions for Data Science

Taught by Lavanya Vijayan

Master Python functions to analyze data effectively, enhancing your data science skills for real-world applications.

  • 25 lessons
  • 1h 35m video
Get started
  • Get a verified certificate
  • 14-day money-back guarantee

About this course

Functions are a core building block of Python and comprise an essential approach to making code more readable and reusable. In this course, you'll be introduced to common functions encountered when working with data science projects. you'll also discover various ways to use functions you may not have considered or known about. Perhaps most importantly, you'll avoid common pitfalls and mistakes when using Python functions as part of data science initiatives.

What you’ll learn

  • Utilizing built-in Python functions
  • Adopting advanced built-in functions
  • Incorporating NumPy arrays
  • Using SciPy functions for scientific computing
  • Working with the pandas library
  • Creating visualizations with Matplotlib
  • Adding Seaborn functions to visualizations

Syllabus

6 sections · 25 lessons · 1h 35m total

Download syllabus

Introduction 2 lessons · 2m

  1. 1. Use Python like a data scientist Many people learn Python without knowing which functions matter most in data science. 1m View lesson
  2. 2. Getting started with Python Before diving into the hands-on lessons, it’s essential to have your workspace ready for real-time practice. 1m View lesson

  1. 1. Inspect data for validation Inspecting your data is essential for data validation and debugging. 2m View lesson
  2. 2. Handle magnitudes and precision in data Properly handling magnitudes and controlling numeric precision is essential for interpreting data and communicating results. 2m View lesson
  3. 3. Aggregate data with basic functions Computing basic summary statistics is the first step in exploratory data analysis. 2m View lesson
  4. 4. Sort, filter, and transform your data Data in sequences often needs to be ordered or pruned before advanced analysis. 4m View lesson

  1. 1. Create NumPy arrays in Python NumPy arrays are the performance-optimized backbone of nearly every data science workflow in Python. 4m View lesson
  2. 2. Index and slice NumPy arrays Accurately accessing and extracting data from arrays is crucial for data analysis. 2m View lesson
  3. 3. Reshape NumPy arrays Inspecting dimensions and reorganizing arrays is vital in preparing data for computations and machine learning models. 1m View lesson
  4. 4. Transform and scale NumPy arrays Fast, element-wise numeric transformations are crucial for preprocessing and scaling large datasets. 2m View lesson
  5. 5. Extract key values with NumPy Summarizing data with key statistics is fundamental for understanding distributions and informing modeling decisions. 1m View lesson
  6. 6. Solve matrix-based problems with SciPy Matrix computations, like checking invertibility with determinants and finding inverses, are foundational for tasks such as solving regression systems, performing dimensionality reduction, and transforming feature spaces in data science. 2m View lesson
  7. 7. Run statistical functions with SciPy Working with probability distributions and hypothesis testing are essential for drawing inferences and validating models. 6m View lesson

  1. 1. Create pandas series and dataframes The pandas library makes tabular and time series data easy to load, explore, and manipulate. 4m View lesson
  2. 2. Extract data subsets from pandas objects Being able to extract the exact rows and columns you need is fundamental to data cleaning and analysis. 6m View lesson
  3. 3. Modify pandas objects Updating data in-place keeps your pipeline tidy and prevents errors later on. 6m View lesson
  4. 4. Combine data from pandas objects Combining data from multiple tables or different data sources is essential for creating robust datasets that drive deeper insights. 5m View lesson
  5. 5. Group data from pandas objects Aggregating data by categories helps reveal group-level patterns, which is important in exploratory data analysis. 3m View lesson
  6. 6. Transform data with pandas apply() Custom data transformations are essential when built-in methods fall short of specific cleaning or feature engineering needs. 5m View lesson

  1. 1. Create line and scatter plots Visualizing quantitative data is essential for spotting trends and relationships between numeric variables in your datasets. 3m View lesson
  2. 2. Display categorical distributions Visualizing categorical distributions is essential for comparing groups and understanding proportions in your data. 5m View lesson
  3. 3. Explore numerical distributions Understanding the shape, spread, and density of numerical data is essential for exploratory analysis. 5m View lesson
  4. 4. Visualize pairwise relationships Mapping pairwise relationships helps you detect correlations, clusters, and anomalies across many variables at a glance. 4m View lesson
  5. 5. Organize your visualizations Arranging multiple visualizations in a single figure is essential for comparing insights and crafting coherent dashboards. 5m View lesson

  1. 1. Apply functions to data science Congratulations on completing the course! 2m View lesson

Time to humblebrag

Complete the course to get a verifiable certificate

Share on LinkedIn

Add your certificate to your profile in one click, and let recruiters and managers see your new skills.

  • Verifiable online
Sample GoSkills certificate of completion

Taught by Lavanya Vijayan

Lavanya Vijayan is a Technical Curriculum Architect and Data Science Instructor at Madecraft. Lavanya has authored several programming and data science courses for LinkedIn Learning. She has also developed technical curriculum for Google’s Advanced Data Analytics and Cybersecurity career certifications.

Lavanya has a Master’s degree in Information and Data Science from UC Berkeley.

Read more

The reviews are in

See what other learners think of our courses

Chris Sanchez, GoSkills learner
I got the promotion largely because of the skills I could develop, thanks to the GoSkills courses I took. I set aside at least 30 minutes daily to invest in myself and my professional growth.
Chris Sanchez GoSkills learner

Your questions, answered

Frequently asked questions

We’ve compiled the most important information to help you get the most out of your experience. Can’t find what you’re looking for? Contact us.

Does my membership include other courses?

Yes. A GoSkills plan gives access to the full course library, not just this course.

You sure can. As a learner, you can sign up for a 7-day free trial here. If you’re training your organization, you can also start with a free plan here.

Your dashboard shows which lessons you’ve completed and how far you are through each course, so you always know where to pick up next.

Yep! With a business account, you can access the full course library along with the GoSkills LMS where you can assign courses, track team progress and report on results from one dashboard. Learn more about GoSkills for teams here.

Our support team is available at support@goskills.com for questions about your account or the platform. Reach out anytime!