跳至内容
首页Python

课程

Data Manipulation with pandas

基础技能水平
更新时间 2026年4月
Learn how to import and clean data, calculate statistics, and create visualizations with pandas.
免费开始课程
PythonData Manipulation4 小时 - 6 小时4,850 经验值540K+成就声明

创建您的免费帐户

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

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

Group

培训2人或更多?

试用DataCamp for Business

课程描述

Discover Data Manipulation with pandas

With this course, you’ll learn why pandas is the world's most popular Python library, used for everything from data manipulation to data analysis. You’ll explore how to manipulate DataFrames, as you extract, filter, and transform real-world datasets for analysis.

With pandas, you’ll explore all the core data science concepts. Using real-world data, including Walmart sales figures and global temperature time series, you’ll learn how to import, clean, calculate statistics, and create visualizations—using pandas to add to the power of Python.

Work with pandas Data to Explore Core Data Science Concepts

You’ll start by mastering the pandas basics, including how to inspect DataFrames and perform some fundamental manipulations. You’ll also learn about aggregating DataFrames, before moving on to slicing and indexing.

You’ll wrap up the course by learning how to visualize the contents of your DataFrames, working with a dataset that contains weekly US avocado sales.

Learn to Manipulate DataFrames

By completing this pandas course, you’ll understand how to use this Python library for data manipulation. You’ll have an understanding of DataFrames and how to use them, as well as be able to visualize your data in Python.

先决条件

Intermediate Python
1

数据聚合

  • 汇总值

    您将学习如何通过计算总和、平均值和计数等关键统计指标来汇总数据,从而能够从原始数据中提取有意义的见解。

  • 单个分组列

    你将学习如何按类别拆解汇总统计数据,从而能够比较不同群体之间的指标并发现数据中的规律。

  • 多个分组列

    你将学习如何同时从多个维度分析数据,通过将汇总信息同时按多个类别进行拆解,从而发现更细微的数据模式。

免费开始课程
2

数据转换

  • 基础转换

    您将学会通过组合和计算现有数据的值来创建新列,从而推导出原始数据集中未包含的比率和其他指标。

  • 复杂转换

    您将学习处理多步计算并计算总额百分比,从而能够构建基于中间结果的复杂指标。

免费开始课程
3

数据筛选

  • 基础筛选

    你将学习如何根据条件从数据中提取特定行,使你能够专注于分析相关的子集,并处理缺失值和文本模式。

  • 多个条件

    你将学习如何通过结合 AND 和 OR 逻辑,同时使用多个标准过滤数据,从而精确地提取所需的行。

  • 复杂筛选

    你将学习通过将条件拆分为独立的列来简化复杂的筛选,并学会提取筛选结果的反面,从而使你的分析更加透明且易于验证。

免费开始课程
4

条件运算

  • 条件转换

    您将学习如何根据特定条件应用不同的计算,从而实现数值标准化、数据分类并处理数据中的各种场景。

  • 条件聚合

    你将学习如何计算仅包含符合特定条件的数值的汇总数据,从而让你能够计算更精细的指标,例如在每个分组内计算“仅针对延误航班的平均值”。

免费开始课程
Data Manipulation with pandas
课程完成

获得成就证明

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

加入超过19百万学习者,今天就开始Data Manipulation with pandas!

创建您的免费帐户

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

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

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