From fe2c02fecebdccfa4f31b9e97dcecc5b9f242041 Mon Sep 17 00:00:00 2001 From: bibo Date: Wed, 23 Nov 2022 08:52:03 +0800 Subject: [PATCH] Update an_introduction_to_scientific_python_numpy.md --- .../basics/an_introduction_to_scientific_python_numpy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/article/basics/an_introduction_to_scientific_python_numpy.md b/docs/article/basics/an_introduction_to_scientific_python_numpy.md index ab1899c..0af8c14 100644 --- a/docs/article/basics/an_introduction_to_scientific_python_numpy.md +++ b/docs/article/basics/an_introduction_to_scientific_python_numpy.md @@ -111,7 +111,7 @@ print(a.ndim) # >>>2 print(a.nbytes) # >>>200 ``` -正如你在上面的代码中看到的,NumPy数组实际上被称为ndarray。我不知道为什么他妈的它叫ndarray,如果有人知道请留言!我猜它代表n维数组。 +正如你在上面的代码中看到的,NumPy数组实际上被称为ndarray。我不知道为什么它叫ndarray,如果有人知道请留言!我猜它代表n维数组。 数组的形状是它有多少行和列,上面的数组有5行和5列,所以它的形状是(5,5)。 @@ -254,4 +254,4 @@ print(c) # >>>[5 6 7 8 9] ## 文章出处 -由NumPy中文文档翻译,原作者为 Ravikiran Srinivasulu,翻译至:[https://www.pluralsight.com/guides/different-ways-create-numpy-arrays](https://www.pluralsight.com/guides/different-ways-create-numpy-arrays) \ No newline at end of file +由NumPy中文文档翻译,原作者为 Ravikiran Srinivasulu,翻译至:[https://www.pluralsight.com/guides/different-ways-create-numpy-arrays](https://www.pluralsight.com/guides/different-ways-create-numpy-arrays)