numpy.record#
- class numpy.record(length_or_data, /, dtype=None)[source]#
一种数据类型标量,允许将字段访问作为属性查找。
- 属性:
方法
all(/[, axis, out, keepdims, where])与
ndarray.all相同的标量方法。any(/[, axis, out, keepdims, where])与
ndarray.any相同的标量方法。argmax(/[, axis, out, keepdims])标量方法与
ndarray.argmax相同。argmin(/[, axis, out, keepdims])与
ndarray.argmin相同的标量方法。argsort(/[, axis, kind, order, stable])与
ndarray.argsort相同的标量方法。astype(/, dtype[, order, casting, subok, copy])标量方法与
ndarray.astype相同。byteswap(/[, inplace])与
ndarray.byteswap相同的标量方法。choose(/, choices[, out, mode])与
ndarray.choose相同的标量方法。clip(/[, min, max, out])与
ndarray.clip相同的标量方法。compress(/, condition[, axis, out])与
ndarray.compress相同的标量方法。conj(/)标量方法,与
ndarray.conj相同。conjugate(/)标量方法与
ndarray.conjugate相同。copy(/[, order])与
ndarray.copy相同的标量方法。cumprod(/[, axis, dtype, out])与
ndarray.cumprod相同的标量方法。cumsum(/[, axis, dtype, out])与
ndarray.cumsum相同的标量方法。diagonal(/[, offset, axis1, axis2])标量方法,与
ndarray.diagonal相同。dump(/, file)与
ndarray.dump相同的标量方法。dumps(/)与
ndarray.dumps相同的标量方法。fill(/, value)标量方法,与
ndarray.fill相同。flatten(/[, order])与
ndarray.flatten相同的标量方法。标量方法,与
ndarray.getfield相同。item(*args)标量方法,与
ndarray.item相同。max(/[, axis, out])标量方法,与
ndarray.max相同。mean(/[, axis, dtype, out])标量方法,与
ndarray.mean相同。min(/[, axis, out])与
ndarray.min相同的标量方法。nonzero(/)标量方法与
ndarray.nonzero相同。pprint()漂亮地打印所有字段。
prod(/[, axis, dtype, out])与
ndarray.prod相同的标量方法。put(indices, values, /[, mode])标量方法,与
ndarray.put相同。ravel(/[, order])与
ndarray.ravel相同的标量方法。repeat(repeats, /[, axis])与
ndarray.repeat相同的标量方法。reshape(*shape[, order, copy])标量方法与
ndarray.reshape相同。resize(*new_shape[, refcheck])标量方法与
ndarray.resize相同。round(/[, decimals, out])与
ndarray.round相同的标量方法。searchsorted(v, /[, side, sorter])与
ndarray.searchsorted相同的标量方法。标量方法,与
ndarray.setfield相同。setflags(*[, write, align, uic])标量方法,与
ndarray.setflags相同。sort(/[, axis, kind, order, stable])与
ndarray.sort相同的标量方法。squeeze(/[, axis])标量方法,与
ndarray.squeeze相同。std(/[, axis, dtype, out, ddof])标量方法,与
ndarray.std相同。sum(/[, axis, dtype, out])与
ndarray.sum相同的标量方法。swapaxes(axis1, axis2, /)与
ndarray.swapaxes相同的标量方法。take(indices, /[, axis, out, mode])与
ndarray.take相同的标量方法。to_device(device, *[, stream])标量方法与
ndarray.to_device相同。tobytes(/[, order])与
ndarray.tobytes相同的标量方法。tofile(fid, /[, sep, format])标量方法与
ndarray.tofile相同。tolist(/)与
ndarray.tolist相同的标量方法。trace(/[, offset, axis1, axis2, dtype, out])标量方法,与
ndarray.trace相同。transpose(*axes)标量方法,与
ndarray.transpose相同。var(/[, axis, dtype, out, ddof])与
ndarray.var相同的标量方法。view(*args, **kwargs)标量方法与
ndarray.view相同。