V2EX  ›  英汉词典

Ndarray

释义 Definition

ndarray(常指 NumPy 的 ndarray)是“n 维数组”(n-dimensional array)的缩写:一种用于存储同类型数据的多维数据结构,支持高效的数值计算、切片索引与向量化运算。(在数据科学与科学计算中非常常见)

发音 Pronunciation (IPA)

/ˌɛn diː ˈæreɪ/

例句 Examples

A NumPy ndarray can store numbers in one or more dimensions.
NumPy 的 ndarray 可以在一维或多维中存储数字。

After cleaning the data, she converted the list of lists into an ndarray and used broadcasting to normalize each column efficiently.
清洗数据后,她把“列表的列表”转换成 ndarray,并利用广播机制高效地对每一列做归一化处理。

词源 Etymology

ndarray 来自 n-dimensional array:其中 n 表示“任意维度数”(不限定 1D/2D/3D),array 表示“数组”。在 Python 科学计算生态里,该词通常特指 NumPy 的核心数组类型 numpy.ndarray

相关词 Related Words

文学/作品 Literary Works

  • Python for Data Analysis(Wes McKinney)——在数据处理与分析章节中频繁讨论 NumPy 的 ndarray 及其操作方式。
  • Fluent Python(Luciano Ramalho)——在数据结构与科学计算相关内容中提及与 NumPy 数组(ndarray)的使用与性能特性。
  • NumPy User Guide / NumPy Reference(NumPy 官方文档)——ndarray 的权威定义、API 说明与示例集中出现于此。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   871 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 18:04 · PVG 02:04 · LAX 10:04 · JFK 13:04
♥ Do have faith in what you're doing.