Skip to main content
HomePython

Course

Introduction to Importing Data in Python

Beginner
4.7+
189 reviews
Updated 03/2025
Learn to import data into Python from various sources, such as Excel, SQL, SAS and right from the web.
Start Course for Free

Included withPremium or Teams

PythonData Preparation3 hours15 videos50 Exercises3,900 XP306,483Statement of Accomplishment

Create Your Free Account

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

As a data scientist, you will need to clean data, wrangle and munge it, visualize it, build predictive models, and interpret these models. Before you can do so, however, you will need to know how to get data into Python. In this course, you'll learn the many ways to import data into Python: from flat files such as .txt and .csv; from files native to other software such as Excel spreadsheets, Stata, SAS, and MATLAB files; and from relational databases such as SQLite and PostgreSQL.

Prerequisites

Intermediate Python
1

Introduction and flat files

Start Chapter
2

Importing data from other file types

Start Chapter
3

Working with relational databases in Python

Start Chapter
Introduction to Importing Data in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.7
from 189 reviews
79%
19%
2%
0%
0%
  • Joe
    about 18 hours

  • Sahaya Princelin Gisha
    about 24 hours

  • Abhijit
    1 day

  • Eric
    1 day

  • Alexandra
    about 20 hours

    maybe it would be better to actually create those file types also, not just read them. People might not be able to visualise structure of the data

  • Peter
    1 day

Joe

Sahaya Princelin Gisha

Abhijit

FAQs

Join over 16 million learners and start Introduction to Importing Data in Python today!

Create Your Free Account

or

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