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

BeginnerSkill Level
4 hours
25K
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 Data Fundamentals

15 hours
2.3K
Grow your data 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
186 results

course

Introduction to Python

BeginnerSkill Level
4 hours
25K
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 hours
16.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 hours
9.8K
Learn how to import and clean data, calculate statistics, and create visualizations with pandas.

course

Supervised Learning with scikit-learn

IntermediateSkill Level
4 hours
4.7K
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 Functions in Python

BeginnerSkill Level
3 hours
6.4K
Learn the art of writing your own functions in Python, as well as key concepts like scoping and error handling.

course

Introduction to Statistics in Python

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

course

Exploratory Data Analysis in Python

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

course

Joining Data with pandas

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

course

Python Toolbox

IntermediateSkill Level
4 hours
5.5K
Continue to build your modern Data Science skills by learning about iterators and list comprehensions.

course

Cleaning Data in Python

IntermediateSkill Level
4 hours
3.1K
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 hours
1.5K
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 hours
1.6K
Dive into data science using Python and learn how to effectively analyze and visualize your data. No coding experience or skills needed.

course

Introduction to Testing in Python

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

course

Unsupervised Learning in Python

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

course

Intermediate Python for Developers

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

course

Hypothesis Testing in Python

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

course

Introduction to LLMs in Python

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

course

Writing Functions in Python

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

course

Sampling in Python

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

course

ETL and ELT in Python

IntermediateSkill Level
4 hours
956
Learn to build effective, performant, and reliable data pipelines using Extract, Transform, and Load principles.

course

Introduction to Python for Finance

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

course

Web Scraping in Python

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

course

Introduction to Data Engineering

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

course

Introduction to NumPy

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

course

Software Engineering Principles in Python

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

course

End-to-End Machine Learning

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

course

Python for Spreadsheet Users

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

course

Working with Hugging Face

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

course

Time Series Analysis in Python

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

course

Experimental Design in Python

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

course

Linear Classifiers in Python

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

course

Cluster Analysis in Python

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

course

Streamlined Data Ingestion with pandas

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

course

Developing Python Packages

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

course

Regular Expressions in Python

BeginnerSkill Level
4 hours
510
Learn about string manipulation and become a master at using regular expressions.

course

Data Types in Python

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

course

Visualizing Geospatial Data in Python

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

course

Introduction to Optimization in Python

IntermediateSkill Level
4 hours
145
Learn to solve real-world optimization problems using Pythons SciPy and PuLP, covering everything from basic to constrained and complex optimization.

course

Extreme Gradient Boosting with XGBoost

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

course

Reshaping Data with pandas

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

course

A/B Testing in Python

IntermediateSkill Level
4 hours
221
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

Dimensionality Reduction in Python

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

course

Intermediate Python for Finance

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

course

Model Validation in Python

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

course

Credit Risk Modeling in Python

IntermediateSkill Level
4 hours
152
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 hours
289
Are customers thrilled with your products or is your service lacking? Learn how to perform an end-to-end sentiment analysis task.

course

ARIMA Models in Python

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

course

Financial Trading in Python

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

course

Machine Learning for Finance in Python

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

course

Natural Language Processing with spaCy

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

course

Building Chatbots in Python

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

course

Bayesian Data Analysis in Python

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

course

Feature Engineering for NLP in Python

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

course

Foundations of Probability in Python

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

course

Hyperparameter Tuning in Python

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

course

Image Modeling with Keras

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

course

Anomaly Detection in Python

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

course

Introduction to Portfolio Analysis in Python

IntermediateSkill Level
4 hours
244
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

Introduction to Linear Modeling in Python

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

course

Market Basket Analysis in Python

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

course

Analyzing Social Media Data in Python

IntermediateSkill Level
4 hours
95
In this course, youll learn how to collect Twitter data and analyze Twitter text, networks, and geographical origin.

course

Ensemble Methods in Python

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

course

GARCH Models in Python

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

course

Introduction to APIs in Python

IntermediateSkill Level
2 hours
117
Dive into the exciting world of APIs as we introduce you to the basics of consuming and working with Web APIs using Python.

course

Advanced NLP with spaCy

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

course

Machine Learning for Marketing in Python

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

course

Statistical Simulation in Python

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

course

Foundations of Inference in Python

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

course

Analyzing Financial Statements in Python

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

course

Analyzing Police Activity with pandas

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

course

Survival Analysis in Python

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

course

Performing Experiments in Python

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

course

Financial Forecasting in Python

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

course

Generalized Linear Models in Python

AdvancedSkill Level
5 hours
57
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

Analyzing Survey Data in Python

IntermediateSkill Level
4 hours
68
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

Machine Translation with Keras

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

course

Discrete Event Simulation in Python

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

course

Python for R Users

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

course

Analyzing IoT Data in Python

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

course

Case Studies in Statistical Thinking

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

course

Python for MATLAB Users

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

course

Bond Valuation and Analysis in Python

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

course

Pandas Joins for Spreadsheet Users

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

course

Working with Llama 3

AdvancedSkill Level
4 hours
4
Explore the latest techniques for running the Llama LLM locally, fine-tuning it, and integrating it within your stack.

course

Predicting CTR with Machine Learning in Python

IntermediateSkill Level
4 hours
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.

track

Associate Data Scientist in Python

90 hours
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 Data Fundamentals

15 hours
2.3K
Grow your data skills, discover how to manipulate dictionaries and DataFrames, visualize real-world data, and write your own Python functions.

track

Data Analyst with Python

36 hours
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 hours
400
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

24 hours
171
From testing code and implementing version control to web scraping and developing packages, take the next step in your Python developer journey!

track

Machine Learning Fundamentals with Python

16 hours
464
Learn the art of Machine Learning and come away as a boss at prediction, pattern recognition, and the beginnings of Deep and Reinforcement Learning.

track

Machine Learning Scientist with Python

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

track

Python Programming

19 hours
318
Level-up your programming skills. Learn how to optimize code, write functions and tests, and use best-practice software engineering techniques.

track

Data Scientist in Python

26 hours
571
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 Engineer

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

track

Data Manipulation with Python

16 hours
347
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

Developing AI Applications

23 hours
72
Learn to create AI-powered applications with the latest AI developer tools, including the OpenAI API, Hugging Face, and LangChain.

track

Statistics Fundamentals with Python

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

track

Developing Large Language Models

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

track

Associate Python Developer

32 hours
163
Learn Python for software development, from writing functions to defining classes. Get the necessary skills to kickstart your developer career!

track

Data Visualization with Python

16 hours
102
Supercharge your data science skills using Pythons most popular and robust data visualization libraries.

track

Natural Language Processing in Python

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

track

Python Programming Fundamentals

16 hours
339
Build your Python programming skills. Learn how to work with modules and packages, work with built-in data types, and write custom functions.

track

Big Data with PySpark

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

track

Time Series with Python

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

track

Professional Data Engineer in Python

40 hours
10
Dive deep into advanced skills and state-of-the-art tools revolutionizing data engineering roles today with our Professional Data Engineer track.

track

Finance Fundamentals in Python

25 hours
97
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 hours
187
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 hours
23
Gain the Python skills you need to analyze marketing campaigns, drill into social media data, and use machine learning to predict customer churn.

track

Applied Finance in Python

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

track

Image Processing with Python

12 hours
33
Apply your Python skills to take on image data! From pre-processing to deep learning, youll discover the many ways you can leverage image data.

track

Keras Fundamentals

16 hours
56
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

Applied Statistics in Python

16 hours
29
Explore Python-based statistical analysis to gain essential decision-making skills such as A/B testing and Bayesian models.
See More

Related resources on Python

blog

The 23 Top Python Interview Questions & Answers For 2024

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

Abid Ali Awan

23 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 hours
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 hours
9.3K
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