Skip to main content
HomePython

Data Types in Python

4.3+
40 reviews
Intermediate

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

Start Course for Free
4 hours15 videos47 exercises69,950 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Have you got your basic Python programming chops down but are yearning for more? Then this is the course for you. Herein, you'll consolidate and practice your knowledge of lists, dictionaries, tuples, sets, and date times. You'll see their relevance in working with lots of real data and how to leverage several of them in concert to solve multistep problems, including an extended case study using Chicago metropolitan area transit data. You'll also learn how to use many of the objects in the Python Collections module, which will allow you to store and manipulate your data for a variety of purposes. After taking this course, you'll be ready to tackle many data challenges Pythonically.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Associate Python Developer

Go To Track

Python Programming Fundamentals

Go To Track
  1. 1

    Fundamental Sequence Data Types

    Free

    This chapter will introduce you to the fundamental Python data types - lists, sets, and strings. These data containers are critical as they provide the basis for storing and looping over ordered data. To make things interesting, you'll apply what you learn about these types to answer questions about the New York Baby Names dataset!

    Play Chapter Now
    Introduction and lists
    50 xp
    Manipulating lists for fun and profit
    100 xp
    Looping over lists
    100 xp
    Meet the tuples
    50 xp
    Data type usage
    50 xp
    Using and unpacking tuples
    100 xp
    Making tuples by accident
    100 xp
    Strings
    50 xp
    Formatted String Literals ("f" strings)
    100 xp
    Combining multiple strings
    100 xp
    Finding strings in other strings
    100 xp
  2. 2

    Dictionaries - The Root of Python

    At the root of all things Python is a dictionary. Herein, you'll learn how to use them to safely handle data that can viewed in a variety of ways to answer even more questions about the New York Baby Names dataset. You'll explore how to loop through data in a dictionary, access nested data, add new data, and come to appreciate all of the wonderful capabilities of Python dictionaries.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Associate Python Developer

Go To Track

Python Programming Fundamentals

Go To Track

datasets

Baby namesChicago crimeCTA daily station totalsCTA daily summary totals

collaborators

Collaborator's avatar
Hugo Bowne-Anderson
Collaborator's avatar
Yashas Roy

prerequisites

Python Toolbox
Jason Myers HeadshotJason Myers

Co-Author of Essential SQLAlchemy and Software Engineer

Jason Myers is a software engineer and author. His area of expertise is in developing data analytics platforms. He has also written the Essential SQLAlchemy book, co-authored with Rick Copeland, that introduces you to working with relational databases in Python.
See More

Don’t just take our word for it

*4.3
from 40 reviews
63%
15%
13%
10%
0%
  • Mithun V.
    17 days

    Excellent primer and hands on course on Data Types in Python

  • João P.
    28 days

    Very well explained concepts. Well structured lessons. Clear examples.

  • ISMAIL G.
    9 months

    I've learned great subjects and the exercises are great.

  • Joel N.
    11 months

    The course was exemplary in learning all the required skills

  • Max V.
    about 1 year

    It was a very insightful way to understand data types in python

"Excellent primer and hands on course on Data Types in Python"

Mithun V.

"Very well explained concepts. Well structured lessons. Clear examples."

João P.

"I've learned great subjects and the exercises are great."

ISMAIL G.

Join over 15 million learners and start Data Types in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.