
Feb. 21, 2017
11:05 p.m.
Hi, a question about numpy.recarray: There is a parameter order in constructor https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.recarray.h... <https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.recarray.h...>, but it seems to have no effect: import numpy x = numpy.recarray(dtype=[('a', int), ('b', float)], shape=[1000], order='C') y = numpy.recarray(dtype=[('a', int), ('b', float)], shape=[1000], order='F') print numpy.array(x.ctypes.get_strides()) # [16] print numpy.array(y.ctypes.get_strides()) # [16] is this an intended behavior or bug? Thanks, Alex.