Skip to main content
Home

Python courses

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

Training 2 or more people?

Try DataCamp for Business

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
36.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 Data Fundamentals

30 hours
2.3K
Grow your data skills, discover how to manipulate and visualize data, and apply advanced analytics to make data-driven decisions.

Not sure where to start?

Take an Assessment
191 results

course

Introduction to Python

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

course

Supervised Learning with scikit-learn

IntermediateSkill Level
4 hours
6K
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 hours
6.5K
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 hours
6.6K
Learn to combine data from multiple tables by joining data together using pandas.

course

Introduction to Functions in Python

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

course

Exploratory Data Analysis in Python

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

course

Python Toolbox

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

course

Introduction to Testing in Python

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

course

Introduction to Data Science in Python

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

course

Cleaning Data in Python

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

course

Intermediate Python for Developers

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

course

Unsupervised Learning in Python

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

course

Introduction to Python for Finance

BeginnerSkill Level
4 hours
2.2K
Build Python skills to elevate your finance career. Learn how to work with lists, arrays and data visualizations to master financial analyses.

course

ETL and ELT in Python

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

course

Hypothesis Testing in Python

IntermediateSkill Level
4 hours
2.7K
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 hours
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 APIs in Python

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

course

Sampling in Python

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

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

Web Scraping in Python

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

course

Writing Efficient Python Code

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

course

Introduction to Data Engineering

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

course

Introduction to LLMs in Python

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

course

Data Types in Python

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

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
563
Dive into the world of machine learning and discover how to design, train, and deploy end-to-end models.

course

Intermediate Python for Finance

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

course

Experimental Design in Python

IntermediateSkill Level
4 hours
1.2K
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.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 hours
1.1K
Learn to acquire data from common file formats and systems such as CSV files, spreadsheets, JSON, SQL databases, and APIs.

course

Working with Hugging Face

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

course

Cluster Analysis in Python

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

course

Time Series Analysis in Python

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

course

Regular Expressions in Python

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

course

Extreme Gradient Boosting with XGBoost

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

course

Dimensionality Reduction in Python

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

course

Developing Python Packages

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

course

Reshaping Data with pandas

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

course

Feature Engineering for NLP in Python

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

course

Credit Risk Modeling in Python

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

course

Introduction to Portfolio Analysis in Python

AdvancedSkill Level
4 hours
562
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

A/B Testing in Python

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

Financial Trading in Python

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

course

Natural Language Processing with spaCy

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

course

Hyperparameter Tuning in Python

IntermediateSkill Level
4 hours
567
Learn techniques for automated hyperparameter tuning in Python, including Grid, Random, and Informed Search.

course

Machine Learning for Finance in Python

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

course

Model Validation in Python

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

course

Building Chatbots in Python

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

course

ARIMA Models in Python

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

course

Bayesian Data Analysis in Python

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

course

Sentiment Analysis in Python

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

course

Visualizing Geospatial Data in Python

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

course

Image Modeling with Keras

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

course

Analyzing Social Media Data in Python

IntermediateSkill Level
4 hours
262
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
336
Learn how to build advanced and effective machine learning models in Python using ensemble techniques such as bagging, boosting, and stacking.

course

Introduction to Linear Modeling in Python

IntermediateSkill Level
4 hours
356
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 hours
110
Detect anomalies in your data analysis and expand your Python statistical toolkit in this four-hour course.

course

Advanced NLP with spaCy

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

course

Foundations of Probability in Python

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

course

Introduction to Optimization in Python

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

course

Generalized Linear Models in Python

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

Market Basket Analysis in Python

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

course

Python for Spreadsheet Users

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

course

Analyzing Police Activity with pandas

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

course

GARCH Models in Python

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

course

Financial Forecasting in Python

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

course

Machine Learning for Marketing in Python

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

course

Bond Valuation and Analysis in Python

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

course

Explainable AI in Python

IntermediateSkill Level
4 hours
70
Gain the essential skills using Scikit-learn, SHAP, and LIME to test and build transparent, trustworthy, and accountable AI systems.

course

Analyzing Financial Statements in Python

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

course

Foundations of Inference in Python

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

course

Analyzing Survey Data in Python

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

Survival Analysis in Python

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

course

Statistical Simulation in Python

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

course

Python for R Users

IntermediateSkill Level
5 hours
63
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
24
Learn how to import, clean and manipulate IoT data in Python to make it ready for machine learning.

course

Discrete Event Simulation in Python

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

course

Python for MATLAB Users

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

course

Performing Experiments in Python

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

course

Case Studies in Statistical Thinking

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

course

Machine Translation with Keras

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

course

Pandas Joins for Spreadsheet Users

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

course

Predicting CTR with Machine Learning in Python

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

30 hours
2.3K
Grow your data skills, discover how to manipulate and visualize data, and apply advanced analytics to make data-driven decisions.

track

Data Analyst in Python

36 hours
1.6K
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

40 hours
562
Gain in-demand skills to efficiently ingest, clean, manage data, and schedule and monitor pipelines, setting you apart in the data engineering field.

track

Machine Learning Fundamentals in Python

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

Python Developer

28 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 Scientist in Python

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

track

Associate Python Developer

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

track

Data Scientist in Python

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

track

Python Programming

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

track

Python Programming Fundamentals

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

track

Data Manipulation in Python

16 hours
522
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
116
Learn to create AI-powered applications with the latest AI developer tools, including the OpenAI API, Hugging Face, and LangChain.

track

Machine Learning Engineer

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

track

Data Visualization in Python

16 hours
196
Supercharge your data science skills using Python's most popular and robust data visualization libraries.

track

Statistics Fundamentals in Python

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

track

Professional Data Engineer in Python

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

track

Natural Language Processing in Python

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

track

Associate AI Engineer for Developers

30 hours
66
Learn how to integrate AI into software applications using APIs and open-source libraries. Start your journey to becoming an AI Engineer today!

track

Finance Fundamentals in Python

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

track

Time Series in Python

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

track

Developing Large Language Models

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

track

Big Data with PySpark

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

track

Importing & Cleaning Data in Python

13 hours
261
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 in Python

28 hours
28
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 in Python

12 hours
108
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

Applied Finance in Python

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

track

Applied Statistics in Python

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

track

Keras Fundamentals

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

Building APIs in Python

13 hours
20
Building APIs in Python teaches you to create and manage APIs with Python and FastAPI through practical, hands-on courses and projects.
See More

Related resources on Python

blog

The 30 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

17 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.4K
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
14.8K
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