Skip to main content

Ben Bolstad has completed

Data Types for Data Science in Python

Start course For Free
4 hours
3,900 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies

Course Description

Have you got your basic Python programming chops down for Data Science 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 Data Scientific purposes. After taking this course, you'll be ready to tackle many Data Science 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.
  1. 1

    Fundamental Sequence Data Types


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

In the following tracks

Python Developer


Collaborator's avatar
Hugo Bowne-Anderson
Collaborator's avatar
Yashas Roy
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

Join over 13 million learners and start Data Types for Data Science in Python today!

Create Your Free Account



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