Skip to main content
HomePythonData Types in Python

Data Types in Python

4.2+
37 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 exercises
68,108 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.
GroupTraining 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

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try 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

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

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.2
from 37 reviews
62%
14%
14%
11%
0%
Sort by
  • ISMAIL G.
    7 months

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

  • Joel N.
    9 months

    The course was exemplary in learning all the required skills

  • Max V.
    11 months

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

  • Драган Ћ.
    11 months

    Great instructor! 👍

  • Sorin I.
    about 1 year

    Very good material, well structured, excellent practice.

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

ISMAIL G.

"The course was exemplary in learning all the required skills"

Joel N.

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

Max V.

Join over 14 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.