Skip to main content
Free course

Introduction to Python

Master the basics of data analysis in Python. Expand your skillset by learning scientific computing with NumPy.

Start Free Course
4 Hours11 Videos57 Exercises4,200,754 Learners4700 XPData Scientist TrackPython Fundamentals Track

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

Python is a general-purpose programming language that is becoming ever more popular for data science. Companies worldwide are using Python to harvest insights from their data and gain a competitive edge. Unlike other Python tutorials, this course focuses on Python specifically for data science. In our Introduction to Python course, you’ll learn about powerful ways to store and manipulate data, and helpful data science tools to begin conducting your own analyses. Start DataCamp’s online Python curriculum now.

  1. 1

    Python Basics


    An introduction to the basic concepts of Python. Learn how to use Python interactively and by using a script. Create your first variables and acquaint yourself with Python's basic data types.

    Play Chapter Now
    Hello Python!
    50 xp
    The Python Interface
    100 xp
    When to use Python?
    50 xp
    Any comments?
    100 xp
    Python as a calculator
    100 xp
    Variables and Types
    50 xp
    Variable Assignment
    100 xp
    Calculations with variables
    100 xp
    Other variable types
    100 xp
    Guess the type
    50 xp
    Operations with other types
    100 xp
    Type conversion
    100 xp
    Can Python handle everything?
    50 xp
  2. 3

    Functions and Packages


    You'll learn how to use functions, methods, and packages to efficiently leverage the code that brilliant Python developers have written. The goal is to reduce the amount of code you need to solve challenging problems!

    Play Chapter Now

In the following tracks

Data Scientist Python Fundamentals


vincentvankrunkelsvenVincent VankrunkelsvenfilipschFilip Schouwenaars
Hugo Bowne-Anderson Headshot

Hugo Bowne-Anderson

Data Scientist at DataCamp

Hugo is a data scientist, educator, writer and podcaster at DataCamp. His main interests are promoting data & AI literacy, helping to spread data skills through organizations and society and doing amateur stand up comedy in NYC. If you want to know what he likes to talk about, definitely check out DataFramed, the DataCamp podcast, which he hosts and produces:
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA