In Python NumPy what is a dimension and axis?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am coding with Pythons NumPy module. If coordinates of a point in 3D space are described as [1, 2, 1] , wouldn't that be three dimensions, three axis, a rank of three? Or if that is one dimension then shouldn't it be points (plural), not point? Here is the documentation: In Numpy dimensions are called axes. The number of axes is rank. For example, the coordinates of a point in 3D space [1, 2, 1] is an array of rank 1, because it has one axis. That axis has a length of 3. Source: http://wiki.scipy.org/Tentative_NumPy_Tutorial 回答1: In numpy