跳至内容
首页Python

课程

NumPy 入门

基础技能水平
更新时间 2025年12月
通过纽约市树木普查学习如何创建、排序、筛选和更新数组,精通 NumPy 技能。
免费开始课程
PythonData Manipulation
4小时
13 视频
49 道练习
4,250 XP
59,579
成就证明

创建您的免费帐户

继续使用 Google显示更多选项


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

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

Group

需要团队培训?

企业版试用

课程描述

探索 Python 的数据科学包: NumPy

获得对 Numpy 的入门了解,并理解为什么这个 Python 库对所有 Python 数据科学家和分析师都至关重要。 最重要的是,进一步了解 Numpy 数组,以及如何创建和更改数组形状以满足您的需求。

探索 NumPy 数组

NumPy 是数据科学家和分析师必不可少的 Python 库。 它是 Python 列表的绝佳替代方案,因为它们更紧凑,且允许更快地读写元素,使其成为更便捷、更高效的选择。

在这门 NumPy 入门课程中,你将成为 NumPy 核心对象——数组——的高手!使用纽约市的树木普查数据,你将创建、排序、筛选和更新数组。 你将了解为什么 NumPy 如此高效,并使用广播和向量化让你的 NumPy 代码运行得更快。

通过在 Monet 数据集上练习来建立信心

到最后一章时,你将运用新学到的知识来执行数组转换。 您将使用图像三维数组来修改克劳德·莫奈的画作,并了解为什么这类数组修改是机器学习的必备工具。

完成本课程后,您将对 Numpy 数组及其各种操作更有信心。 本课程是 Data Scientist with Python 路径的一部分,非常适合希望通过 DataCamp 获得数据科学认证的人。

先决条件

Intermediate Python
1

Understanding NumPy Arrays

Meet the incredible NumPy array! Learn how to create and change array shapes to suit your needs. Finally, discover NumPy's many data types and how they contribute to speedy array operations.
开始章节
2

Selecting and Updating Data

Sharpen your NumPy data wrangling skills by slicing, filtering, and sorting New York City’s tree census data. Create new arrays by pulling data based on conditional statements, and add and remove data along any dimension to suit your purpose. Along the way, you’ll learn the shape and dimension compatibility principles to prepare for super-fast array math.
开始章节
3

Array Mathematics!

Leverage NumPy’s speedy vectorized operations to gather summary insights on sales data for American liquor stores, restaurants, and department stores. Vectorize Python functions for use in your NumPy code. Finally, use broadcasting logic to perform mathematical operations between arrays of different sizes.
开始章节
4

Array Transformations

NumPy meets the art world in this final chapter as we use image data from a Monet masterpiece to explore how you can use to augment image data. You’ll use flipping and transposing functionality to quickly transform our masterpiece. Next, you’ll pull the Monet array apart, make changes, and reconstruct it using array stacking to see the results.
开始章节
NumPy 入门
课程完成

获得成就证明

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

加入超过19百万学习者,今天就开始NumPy 入门!

创建您的免费帐户

继续使用 Google显示更多选项


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

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

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