跳至内容
首页Python

课程

Python 数据导入进阶

基础技能水平
更新时间 2026年6月
提升你的 Python 数据导入技能,学会处理网页和 API 数据。
免费开始课程
PythonData Preparation
2小时
7 视频
28 道练习
2,300 XP
210K+
成就证明

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学习者的喜爱

Group

需要团队培训?

企业版试用

课程描述

作为数据科学家,您需要清洗数据、整理并处理数据、进行可视化、构建预测模型并解释模型。不过,在此之前,您需要先掌握如何将数据导入 Python。在本课程的前导课程中,您已经学习了多种将数据导入 Python 的方法:从 .txt、.csv 等平面文件;从其他软件的原生文件(如 Excel 电子表格、Stata、SAS 和 MATLAB 文件);以及从关系型数据库(如 SQLite 和 PostgreSQL)。在本课程中,您将进一步学习如何从网络导入数据,并通过应用程序编程接口(API)获取数据,例如 Twitter 流式 API,它可以让我们实时获取推文流。视频包含实时字幕,您可以点击视频左下角的 "Show transcript" 展开查看。 课程术语表位于右侧的资源部分。 若要获得 CPE 学分,您需要完成课程并在合格测评中达到 70% 的分数。您可以点击右侧的 CPE 学分提示进入测评。

先决条件

Introduction to Importing Data in Python
1

Importing data from the Internet

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.
开始章节
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.
开始章节
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.
开始章节
Python 数据导入进阶
课程完成

获得成就证明

将此证书添加到您的 LinkedIn 档案、简历或履历中
在社交媒体和绩效评估中分享
立即注册

加入超过19百万学习者,今天就开始Python 数据导入进阶!

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

通过 DataCamp for Mobile 提升您的数据技能

随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。