这可能是一个非常愚蠢的问题,但我试图像谷歌关键字一样less and greater signs in data type of numpy,没有找到参考.
在文档中numpy,
x = np.array([(1.0, 2), (3.0, 4)], dtype=[('x', float), ('y', int)])
Run Code Online (Sandbox Code Playgroud)
输出
array([(1.0, 2), (3.0, 4)],
dtype=[('x', '<f8'), ('y', '<i4')])
Run Code Online (Sandbox Code Playgroud)
但在我的电脑上,输出是
array([(1.0, 2), (3.0, 4)],
dtype=[('x', '>f8'), ('y', '>i4')])
Run Code Online (Sandbox Code Playgroud)
做什么<和>在dtype平均为什么会有区别?