Skip to main content
HomePythonIntermediate Importing Data in Python

Intermediate Importing Data in Python

4.5+
34 reviews
Intermediate

Improve your Python data importing skills and learn to work with web and API data.

Start Course for Free
2 Hours7 Videos28 Exercises
171,398 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

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 the prequel to this course, you learned 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. In this course, you'll extend this knowledge base by learning to import data from the web and by pulling data from Application Programming Interfaces— APIs—such as the Twitter streaming API, which allows us to stream real-time tweets.
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

Certification Available

Data Scientist in Python

Go To Track
Certification Available

Data Engineer in Python

Go To Track

Importing & Cleaning Data with Python

Go To Track
  1. 1

    Importing data from the Internet

    Free

    The web is a rich source of data from which you can extract various types of insights and findings. In this chapter, you will learn how to get data from the web, whether it is stored in files or in HTML. You'll also learn the basics of scraping and parsing web data.

    Play Chapter Now
    Importing flat files from the web
    50 xp
    Importing flat files from the web: your turn!
    100 xp
    Opening and reading flat files from the web
    100 xp
    Importing non-flat files from the web
    100 xp
    HTTP requests to import files from the web
    50 xp
    Performing HTTP requests in Python using urllib
    100 xp
    Printing HTTP request results in Python using urllib
    100 xp
    Performing HTTP requests in Python using requests
    100 xp
    Scraping the web in Python
    50 xp
    Parsing HTML with BeautifulSoup
    100 xp
    Turning a webpage into data using BeautifulSoup: getting the text
    100 xp
    Turning a webpage into data using BeautifulSoup: getting the hyperlinks
    100 xp
  2. 2

    Interacting with APIs to import data from the web

    In this chapter, you will gain a deeper understanding of how to import data from the web. You will learn the basics of extracting data from APIs, gain insight on the importance of APIs, and practice extracting data by diving into the OMDB and Library of Congress APIs.

    Play Chapter Now
  3. 3

    Diving deep into the Twitter API

    In this chapter, you will consolidate your knowledge of interacting with APIs in a deep dive into the Twitter streaming API. You'll learn how to stream real-time Twitter data, and how to analyze and visualize it.

    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

Certification Available

Data Scientist in Python

Go To Track
Certification Available

Data Engineer in Python

Go To Track

Importing & Cleaning Data with Python

Go To Track

Datasets

Latitudes (XLS)TweetsRed wine quality

Collaborators

Collaborator's avatar
Francisco Castro
Hugo Bowne-Anderson HeadshotHugo Bowne-Anderson

Data Scientist

Hugo is a data scientist, educator, writer and podcaster formerly 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 hosted and produced.
See More

Don’t just take our word for it

*4.5
from 34 reviews
74%
12%
12%
3%
0%
Sort by
  • Lucien H.
    about 2 months

    The course is great.

  • Balu S.
    3 months

    Great explanation

  • Carsten H.
    7 months

    Awesome learning experience - Brilliant curriculum - Challenging coding tasks

  • Iryna P.
    7 months

    Very clear and easy. Great resource!

  • Tim K.
    8 months

    Good interactive course. Hugo is a great techer

"The course is great."

Lucien H.

"Great explanation"

Balu S.

"Awesome learning experience - Brilliant curriculum - Challenging coding tasks"

Carsten H.

Join over 14 million learners and start Intermediate Importing Data 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.