NumPy, which stands for Numerical Python, is a library consisting of multidimensional array objects and a collection of routines for processing those arrays. Using NumPy, mathematical and logical operations on arrays can be performed. This tutorial explains the basics of NumPy such as its architecture and environment. It also discusses the various array functions, types of indexing, etc. An introduction to Matplotlib is also provided. All this is explained with the help of examples for better understanding.
本教程是为那些想要了解NumPy的基础知识和各种功能的人做好准备的。它对算法开发者特别有用。完成本教程后,您将发现自己处于适度的专业水平,您可以从中获得更高水平的专业知识。
您应该对计算机编程术语有一个基本的了解。对Python和任何编程语言的基本了解是一个加分。
对于本教程中给出的大多数示例,您将找到Try it选项,因此只需使用此选项即可执行您的NumPy程序,并享受您的学习。
尝试以下示例使用下面示例代码框右上角的Try it选项可用 -
import numpy as np a = "hello world" print a