跳至内容
首页Python

课程

Python 数据导入入门

基础技能水平
更新时间 2025年12月
学习如何将来自 Excel、SQL、SAS 以及网页等各种来源的数据导入 Python。
免费开始课程
PythonData Preparation
3小时
15 视频
50 道练习
3,900 XP
330K+
成就证明

创建您的免费帐户

继续使用 Google显示更多选项


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

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

Group

需要团队培训?

企业版试用

课程描述

作为一名数据科学家,您需要清洗数据、整理与变换数据、可视化、构建预测模型,并解释这些模型。在此之前,您需要先学会如何将数据导入到 Python 中。本课程将带您学习多种在 Python 中导入数据的方法:从 .txt、.csv 等平面文件;从其它软件的原生文件,如 Excel 电子表格、Stata、SAS 和 MATLAB 文件;以及从 SQLite、PostgreSQL 等关系型数据库导入数据。视频包含实时字幕,您可以点击视频左下角的 "Show transcript" 展开查看。 课程术语表位于右侧的资源部分。 若要获得 CPE 学分,您需要完成课程并在合格测评中达到 70% 的得分。您可以点击右侧的 CPE 学分提示进入测评。

先决条件

Intermediate Python
1

Introduction and flat files

In this chapter, you'll learn how to import data into Python from all types of flat files, which are a simple and prevalent form of data storage. You've previously learned how to use NumPy and pandas—you will learn how to use these packages to import flat files and customize your imports.
开始章节
2

Importing data from other file types

You've learned how to import flat files, but there are many other file types you will potentially have to work with as a data scientist. In this chapter, you'll learn how to import data into Python from a wide array of important file types. These include pickled files, Excel spreadsheets, SAS and Stata files, HDF5 files, a file type for storing large quantities of numerical data, and MATLAB files.
开始章节
Python 数据导入入门
课程完成

获得成就证明

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

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

创建您的免费帐户

继续使用 Google显示更多选项


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

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

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