Skip to main content
HomePython

Python courses

Python is a high-level, interpreted programming language known for its emphasis on readability and simplicity.
Python courses icon

Recommended for Python beginners

Build your Python skills with interactive courses for data science, data analysis and machine learning, curated by real-world experts

Course

Introduction to Python

4 hr
31.9K
Master the basics of data analysis with Python in just four hours. This online course will introduce the Python interface and explore popular packages.

Track

Python Fundamentals

15 hr
2.2K
Grow your programmer skills. Discover how to manipulate dictionaries and DataFrames, visualize real-world data, and write your own Python functions.

Not sure where to start?

Take an Assessment
178 results

Course

Introduction to Python

BeginnerSkill Level
4 hr
31.9K
Master the basics of data analysis with Python in just four hours. This online course will introduce the Python interface and explore popular packages.

Course

Intermediate Python

BeginnerSkill Level
4 hr
19.5K
Level up your data science skills by creating visualizations using Matplotlib and manipulating DataFrames with pandas.

Course

Data Manipulation with pandas

BeginnerSkill Level
4 hr
12.1K
Learn how to import and clean data, calculate statistics, and create visualizations with pandas.

Course

Supervised Learning with scikit-learn

IntermediateSkill Level
4 hr
5.3K
Grow your machine learning skills with scikit-learn in Python. Use real-world datasets in this interactive course and learn how to make powerful predictions!

Course

Introduction to Statistics in Python

IntermediateSkill Level
4 hr
5.8K
Grow your statistical skills and learn how to collect, analyze, and draw accurate conclusions from data using Python.

Course

Joining Data with pandas

IntermediateSkill Level
4 hr
6K
Learn to combine data from multiple tables by joining data together using pandas.

Course

Exploratory Data Analysis in Python

IntermediateSkill Level
4 hr
4.5K
Learn how to explore, visualize, and extract insights from data using exploratory data analysis (EDA) in Python.

Course

Cleaning Data in Python

IntermediateSkill Level
4 hr
3.9K
Learn to diagnose and treat dirty data and develop the skills needed to transform your raw data into accurate insights!

Course

Writing Efficient Python Code

IntermediateSkill Level
4 hr
2K
Learn to write efficient code that executes quickly and allocates resources skillfully to avoid unnecessary overhead.

Course

Introduction to Data Science in Python

BeginnerSkill Level
4 hr
2.7K
Dive into data science using Python and learn how to effectively analyze and visualize your data. No coding experience or skills needed.

Course

Unsupervised Learning in Python

IntermediateSkill Level
4 hr
2.8K
Learn how to cluster, transform, visualize, and extract insights from unlabeled datasets using scikit-learn and scipy.

Course

Writing Functions in Python

IntermediateSkill Level
4 hr
2K
Learn to use best practices to write maintainable, reusable, complex functions with good documentation.

Course

Hypothesis Testing in Python

IntermediateSkill Level
4 hr
2.4K
Learn how and when to use common hypothesis tests like t-tests, proportion tests, and chi-square tests in Python.

Course

Introduction to NumPy

BeginnerSkill Level
4 hr
1.6K
Master your skills in NumPy by learning how to create, sort, filter, and update arrays using NYC’s tree census.

Course

Introduction to Python for Finance

BeginnerSkill Level
4 hr
1.3K
Learn to use Python for financial analysis using basic skills, including lists, data visualization, and arrays.

Course

Sampling in Python

IntermediateSkill Level
4 hr
2.4K
Learn to draw conclusions from limited data using Python and statistics. This course covers everything from random sampling to stratified and cluster sampling.

Course

Introduction to LLMs in Python

AdvancedSkill Level
4 hr
303
Learn the nuts and bolts of LLMs and the revolutionary transformer architecture they are based on!

Course

Web Scraping in Python

IntermediateSkill Level
4 hr
827
Learn to retrieve and parse information from the internet using the Python library scrapy.

Course

Introduction to Data Engineering

IntermediateSkill Level
4 hr
521
Learn about the world of data engineering in this short course, covering tools and topics like ETL and cloud computing.

Course

Intermediate Python for Developers

BeginnerSkill Level
2 hr
1.4K
Dive into the Python ecosystem, discovering modules and packages along with how to write custom functions!

Course

Introduction to Data Pipelines

IntermediateSkill Level
4 hr
803
This introductory course will help you hone the skills to build effective, performant, and reliable data pipelines.

Course

Software Engineering Principles in Python

IntermediateSkill Level
4 hr
1.4K
Learn about modularity, documentation, and automated testing to help you solve data science problems more quickly and reliably.

Course

Linear Classifiers in Python

IntermediateSkill Level
4 hr
1.3K
In this course you will learn the details of linear classifiers like logistic regression and SVM.

Course

Streamlined Data Ingestion with pandas

IntermediateSkill Level
4 hr
1.2K
Learn to acquire data from common file formats and systems such as CSV files, spreadsheets, JSON, SQL databases, and APIs.

Course

Time Series Analysis in Python

IntermediateSkill Level
4 hr
719
In this four-hour course, you’ll learn the basics of analyzing time series data in Python.

Course

Cluster Analysis in Python

IntermediateSkill Level
4 hr
885
In this course, you will be introduced to unsupervised learning through techniques such as hierarchical and k-means clustering using the SciPy library.

Course

Data Types for Data Science in Python

IntermediateSkill Level
4 hr
819
Consolidate and extend your knowledge of Python data types such as lists, dictionaries, and tuples, leveraging them to solve Data Science problems.

Course

End-to-End Machine Learning

IntermediateSkill Level
4 hr
504
Dive into the world of machine learning and discover how to design, train, and deploy end-to-end models.

Course

Extreme Gradient Boosting with XGBoost

IntermediateSkill Level
4 hr
657
Learn the fundamentals of gradient boosting and build state-of-the-art machine learning models using XGBoost to solve classification and regression problems.

Course

Developing Python Packages

IntermediateSkill Level
4 hr
618
Learn to create your own Python packages to make your code easier to use and share with others.

Course

Dimensionality Reduction in Python

IntermediateSkill Level
4 hr
653
Understand the concept of reducing dimensionality in your data, and master the techniques to do so in Python.

Course

A/B Testing in Python

IntermediateSkill Level
4 hr
302
Learn the practical uses of A/B testing in Python to run and analyze experiments. Master p-values, sanity checks, and analysis to guide business decisions.

Course

Intermediate Python for Finance

IntermediateSkill Level
4 hr
701
Build on top of your Python skills for Finance, by learning how to use datetime, if-statements, DataFrames, and more.

Course

Reshaping Data with pandas

IntermediateSkill Level
4 hr
557
Reshape DataFrames from a wide to long format, stack and unstack rows and columns, and wrangle multi-index DataFrames.

Course

Model Validation in Python

IntermediateSkill Level
4 hr
716
Learn the basics of model validation, validation techniques, and begin creating validated and high performing models.

Course

Image Modeling with Keras

AdvancedSkill Level
4 hr
554
Learn to conduct image analysis using Keras with Python by constructing, training, and evaluating convolutional neural networks.

Course

Credit Risk Modeling in Python

IntermediateSkill Level
4 hr
251
Learn how to prepare credit application data, apply machine learning and business rules to reduce risk and ensure profitability.

Course

Sentiment Analysis in Python

IntermediateSkill Level
4 hr
378
Are customers thrilled with your products or is your service lacking? Learn how to perform an end-to-end sentiment analysis task.

Course

Working with Hugging Face

IntermediateSkill Level
4 hr
174
Navigate and use the extensive repository of models and datasets available on the Hugging Face Hub.

Course

Hyperparameter Tuning in Python

IntermediateSkill Level
4 hr
594
Gain experience using techniques for automated hyperparameter tuning in Python, including Grid, Random, and Informed Search.

Course

Natural Language Processing with spaCy

IntermediateSkill Level
4 hr
408
Master the core operations of spaCy and train models for natural language processing. Extract information from unstructured data and match patterns.

Course

Feature Engineering for NLP in Python

AdvancedSkill Level
4 hr
406
Learn techniques to extract useful information from text and process them into a format suitable for machine learning.

Course

Bayesian Data Analysis in Python

IntermediateSkill Level
4 hr
368
Learn all about the advantages of Bayesian data analysis, and apply it to a variety of real-world use cases!

Course

ARIMA Models in Python

AdvancedSkill Level
4 hr
333
Learn about ARIMA models in Python and become an expert in time series analysis.

Course

Machine Learning for Finance in Python

IntermediateSkill Level
4 hr
158
Learn to model and predict stock data values using linear models, decision trees, random forests, and neural networks.

Course

Financial Trading in Python

IntermediateSkill Level
4 hr
195
Learn to implement custom trading strategies in Python, backtest them, and evaluate their performance!

Course

Market Basket Analysis in Python

IntermediateSkill Level
4 hr
417
Explore association rules in market basket analysis with Python by bookstore data and creating movie recommendations.

Course

Building Chatbots in Python

IntermediateSkill Level
4 hr
75
Learn the fundamentals of how to build conversational bots using rule-based systems as well as machine learning.

Course

Introduction to Testing in Python

AdvancedSkill Level
4 hr
298
Master Python testing: Learn methods, create checks, and ensure error-free code with pytest and unittest.

Course

Foundations of Probability in Python

IntermediateSkill Level
5 hr
301
Learn fundamental probability concepts like random variables, mean and variance, probability distributions, and conditional probabilities.

Course

Introduction to Linear Modeling in Python

IntermediateSkill Level
4 hr
367
Explore the concepts and applications of linear models with python and build models to describe, predict, and extract insight from data patterns.

Course

Anomaly Detection in Python

IntermediateSkill Level
4 hr
126
Detect anomalies in your data analysis and expand your Python statistical toolkit in this four-hour course.

Course

Visualizing Geospatial Data in Python

IntermediateSkill Level
4 hr
285
Learn how to make attractive visualizations of geospatial data in Python using the geopandas package and folium maps.

Course

Introduction to Portfolio Analysis in Python

IntermediateSkill Level
4 hr
256
Learn how to calculate meaningful measures of risk and performance, and how to compile an optimal portfolio for the desired risk and return trade-off.

Course

Ensemble Methods in Python

AdvancedSkill Level
4 hr
284
Learn how to build advanced and effective machine learning models in Python using ensemble techniques such as bagging, boosting, and stacking.

Course

Advanced NLP with spaCy

IntermediateSkill Level
5 hr
114
Learn how to use spaCy to build advanced natural language understanding systems, using both rule-based and machine learning approaches.

Course

Financial Forecasting in Python

IntermediateSkill Level
4 hr
175
Step into the role of CFO and learn how to advise a board of directors on key metrics while building a financial forecast.

Course

Python for Spreadsheet Users

BeginnerSkill Level
4 hr
102
Use your knowledge of common spreadsheet functions and techniques to explore Python!

Course

Analyzing Social Media Data in Python

IntermediateSkill Level
4 hr
93
In this course, you'll learn how to collect Twitter data and analyze Twitter text, networks, and geographical origin.

Course

GARCH Models in Python

AdvancedSkill Level
4 hr
200
Learn about GARCH Models, how to implement them and calibrate them on financial data from stocks to foreign exchange.

Course

Analyzing Financial Statements in Python

IntermediateSkill Level
4 hr
67
Learn to analyze financial statements using Python. Compute ratios, assess financial health, handle missing values, and present your analysis.

Course

Analyzing Survey Data in Python

IntermediateSkill Level
4 hr
177
Learn how to analyze survey data with Python and discover when it is appropriate to apply statistical tools that are descriptive and inferential in nature.

Course

Generalized Linear Models in Python

AdvancedSkill Level
5 hr
158
Extend your regression toolbox with the logistic and Poisson models and learn to train, understand, and validate them, as well as to make predictions.

Course

Machine Learning for Marketing in Python

IntermediateSkill Level
4 hr
87
From customer lifetime value, predicting churn to segmentation - learn and implement Machine Learning use cases for Marketing in Python.

Course

Analyzing Police Activity with pandas

IntermediateSkill Level
4 hr
129
Explore the Stanford Open Policing Project dataset and analyze the impact of gender on police behavior using pandas.

Course

Performing Experiments in Python

IntermediateSkill Level
4 hr
94
Learn about experimental design, and how to explore your data to ask and answer meaningful questions.

Course

Foundations of Inference in Python

AdvancedSkill Level
4 hr
167
Get hands-on experience making sound conclusions based on data in this four-hour course on statistical inference in Python.

Course

Statistical Simulation in Python

IntermediateSkill Level
4 hr
107
Learn to solve increasingly complex problems using simulations to generate and analyze data.

Course

Python for R Users

IntermediateSkill Level
5 hr
64
This course is for R users who want to get up to speed with Python!

Course

Survival Analysis in Python

AdvancedSkill Level
4 hr
60
Use survival analysis to work with time-to-event data and predict survival time.

Course

Discrete Event Simulation in Python

AdvancedSkill Level
4 hr
39
Discover the power of discrete-event simulation in optimizing your business processes. Learn to develop digital twins using Python's SimPy package.

Course

Analyzing IoT Data in Python

IntermediateSkill Level
4 hr
68
Learn how to import, clean and manipulate IoT data in Python to make it ready for machine learning.

Course

Bond Valuation and Analysis in Python

IntermediateSkill Level
4 hr
62
Learn how bonds work and how to price them and assess some of their risks using the numpy and numpy-financial packages.

Course

Python for MATLAB Users

BeginnerSkill Level
4 hr
27
Transition from MATLAB by learning some fundamental Python concepts, and diving into the NumPy and Matplotlib packages.

Course

Pandas Joins for Spreadsheet Users

IntermediateSkill Level
4 hr
76
Learn how to effectively and efficiently join datasets in tabular format using the Python Pandas library.

Course

Case Studies in Statistical Thinking

IntermediateSkill Level
4 hr
48
Take vital steps towards mastery as you apply your statistical thinking skills to real-world data sets and extract actionable insights from them.

Course

Introduction to Optimization in Python

IntermediateSkill Level
4 hr
32
Learn to solve real-world optimization problems using Python's SciPy and PuLP, covering everything from basic to constrained and complex optimization.

Course

Machine Translation with Keras

AdvancedSkill Level
4 hr
15
Are you curious about the inner workings of the models that are behind products like Google Translate?

Course

Predicting CTR with Machine Learning in Python

IntermediateSkill Level
4 hr
9
Learn how to predict click-through rates on ads and implement basic machine learning models in Python so that you can see how to better optimize your ads.

Course

Experimental Design in Python

IntermediateSkill Level
4 hr
0
Implement experimental design setups and perform robust statistical analyses to make precise and valid conclusions!

Track

Associate Data Scientist in Python

86 hr
1.1K
Learn data science in Python, from data manipulation to machine learning. This track provides the skills needed to succeed as a data scientist!

Track

Python Fundamentals

15 hr
2.2K
Grow your programmer skills. Discover how to manipulate dictionaries and DataFrames, visualize real-world data, and write your own Python functions.

Track

Data Analyst with Python

36 hr
1.5K
Develop your data analytics skills in Python. Gain the data analyst skills to manipulate, analyze, and visualize data. No coding experience required!

Track

Data Engineer in Python

57 hr
514
Gain in-demand skills to efficiently ingest, clean, manage data, and schedule and monitor pipelines, setting you apart in the data engineering field.

Track

Python Developer

71 hr
187
From data manipulation to unit testing, gain the career-building skills you need to succeed as a Python developer. No prior coding experience needed.

Track

Data Scientist in Python

26 hr
388
Learn data science in Python, from data manipulation to machine learning, and gain the skills needed for the Data Scientist in Python certification!

Track

Machine Learning Scientist with Python

85 hr
139
Discover machine learning with Python and work towards becoming a machine learning scientist. Explore supervised, unsupervised, and deep learning.

Track

Python Programming

24 hr
180
Improve your Python programming skills. Learn how to optimize code, write functions and unit tests, and use software engineering best practices.

Track

Machine Learning Engineer

44 hr
91
This career track teaches you everything you need to know about machine learning engineering and MLOps.

Track

Data Manipulation with Python

16 hr
243
Take the pain out of data manipulation using pandas. You’ll learn how to transform, sort, and filter data in DataFrames, ready for quick analysis.

Track

Statistics Fundamentals with Python

20 hr
176
Confidently learn to calculate statistics and probability, evaluate statistical models, and draw conclusions from hypothesis tests.

Track

Natural Language Processing in Python

20 hr
89
Learn how to transcribe, and extract exciting insights from books, review sites, and online articles with Natural Language Processing (NLP) in Python.

Track

Developing Large Language Models

16 hr
61
Learn to develop large language models (LLMs) with PyTorch and Hugging Face, using the latest deep learning and NLP techniques.

Track

Keras Fundamentals

16 hr
74
Take your machine learning skills to the next level. Use the Keras library to create and optimize neural networks to model complex data types.

Track

Big Data with PySpark

25 hr
115
Master how to process big data and leverage it efficiently with Apache Spark using the PySpark API.

Track

Time Series with Python

20 hr
103
Gain the skills you need to manipulate, interpret, and visualize time series data in Python, using pandas, NumPy, and Matplotlib.

Track

Finance Fundamentals in Python

25 hr
128
Gain the introductory skills you need to make data-driven financial decisions in Python—using pandas, NumPy, statsmodels, and pyfolio libraries.

Track

Importing & Cleaning Data with Python

13 hr
139
Gain the real-world data prepping skills you need to reveal the insights that matter! Discover how to import, clean, and work with APIs and web data.

Track

Marketing Analytics with Python

28 hr
40
Gain the Python skills you need to analyze marketing campaigns, drill into social media data, and use machine learning to predict customer churn.

Track

Image Processing with Python

12 hr
41
Apply your Python skills to take on image data! From pre-processing to deep learning, you'll discover the many ways you can leverage image data.

Track

Developing AI Applications

21 hr
17
Learn to create AI-powered applications with the latest AI developer tools, including the OpenAI API, Hugging Face, and LangChain.

Track

Applied Finance in Python

16 hr
43
Enhance your Python financial skills. Learn how to evaluate portfolios, calculate credit risk, and create GARCH models to forecast volatility.

Track

Python Toolbox

16 hr
37
In just a few hours, you’ll learn how to handle missing data and write cleaner, faster, and more efficient Python code.
See More

Related resources on Python

blog

The 23 Top Python Interview Questions & Answers

Essential Python interview questions with examples for job seekers, final-year students, and data professionals.
Abid Ali Awan's photo

Abid Ali Awan

22 min

blog

How to Learn Python From Scratch in 2024: An Expert Guide

Discover how to learn Python, its applications, and the demand for Python skills. Start your Python journey today ​​with our comprehensive guide.
Matt Crabtree's photo

Matt Crabtree

19 min

cheat sheet

Python Cheat Sheet for Beginners

Python is the most popular programming language in data science. Use this cheat sheet to jumpstart your Python learning journey.
Richie Cotton's photo

Richie Cotton

8 min


Ready to apply your skills?

Projects allow you to apply your knowledge to a wide range of datasets
to solve real-world problems in your browser

Project

NYC Airbnb Data Analysis

0.75 hr
5.3K
Apply data importing and cleaning skills to extract insights about the New York City Airbnb market.

Project

Analyzing Crime in Los Angeles

0.75 hr
6.4K
Find out when and where crime is most likely to occur, along with the types of crimes commonly committed in LA.
See More

Frequently asked questions

What is Python and why is it important in data science and AI?

Python is a widely-used, high-level programming language known for its readability, simplicity, and extensive libraries. It is important because of its versatility in various fields like web development, automation, data analysis, and artificial intelligence, making it a fundamental skill for many technological and scientific applications. This broad applicability has made Python one of the most popular programming languages in the world.

Do I need any prior programming experience to start learning Python?

No, you don't need previous programming experience. Our courses are designed to be beginner-friendly, guiding you step by step.

How can learning Python benefit my career?

Learning Python opens doors across multiple industries due to its high demand, offering broad career opportunities in technology, data science, finance, healthcare, academia, and marketing. Its versatility in data handling and analysis is particularly valued for driving data-driven decisions and innovation. Mastering Python can significantly enhance your professional skillset, making you a valuable asset in numerous fields.

What are some career paths that Python enables?

Python opens the door to a variety of career paths, serving as a catalyst for roles such as data scientist, data analyst, machine learning engineer, software developer, and web developer. Its widespread application in diverse fields like finance, healthcare, technology, and research means that proficiency in Python can significantly advance career prospects in these and many other industries.

What is the best way to learn Python?

The most effective way to learn Python is through a practical, hands-on approach. Interactive courses led by industry experts provide structured learning and real-world problem-solving, while building your own projects allows you to apply and solidify your skills, helping you to excel faster in Python programming. Read our full guide on how to learn Python for more guidance.

What’s the difference between Python and R?

Python is a versatile and user-friendly language ideal for general programming and data science, whereas R is more specialized for statistical analysis, complex data manipulation, and data visualization. Check out our Python vs R article for a more detailed comparison.

Are the Python courses updated with the latest industry trends and technologies?

Yes, we regularly update our courses to reflect the latest trends and technologies in the field.

Does DataCamp offer a Python Certification?

DataCamp offers professional certifications for Data Scientists and Data Analysts. You can use Python in either of these certifications to prove your skills and build a strong portfolio.

Other technologies and topics

technologies