numpy.recarray.base# 属性 recarray.base# 如果内存来自其他对象,则为基础对象。 示例 在浏览器中尝试! 拥有其内存的数组的 base 为 None >>> import numpy as np >>> x = np.array([1,2,3,4]) >>> x.base is None True 切片创建一个视图,其内存与 x 共享 >>> y = x[2:] >>> y.base is x True 返回在新标签页中打开