numpy .shape保姆级简介;函数返回值详解;运用python内置函数help()
首先 python 内置 help() 函数可查看函数或模块用途的详细说明。
以下是我调用该函数后,对返回值一些翻译。
import numpy as np
help(np.shape)
关于函数shape在numpy中的说明 // Help on function shape in module numpy:
shape(a)
返回一个数组的形状 // Return the shape of an array.
参数 // Parame...
原创
2022-04-13 11:38:55 ·
4418 阅读 ·
0 评论