Skip to Content
Python for Data Science
book

Python for Data Science

by Yuli Vasiliev
August 2022
Beginner to intermediate
248 pages
6h 3m
English
No Starch Press
Content preview from Python for Data Science

4 Accessing Data from Files and APIs

Accessing data and getting it into your script is the first step of data analysis. This chapter covers several ways of importing data from files and other sources into your Python application, as well as ways to export data to files. You’ll see how to access the content of different types of files, including those stored locally on your machine and others accessible remotely through HTTP requests. You’ll also learn how to get data by sending requests to APIs that are accessible via a URL. Finally, you’ll learn how to load different types of data into pandas DataFrames.

Importing Data Using Python’s open() ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for Geospatial Data Analysis

Python for Geospatial Data Analysis

Bonny P. McClain
Python Machine Learning - Third Edition

Python Machine Learning - Third Edition

Sebastian Raschka, Vahid Mirjalili

Publisher Resources

ISBN: 9781098130275