import numpy as np
from io import StringIO
data = StringIO("1 2 3\n 4 5 6")
np.genfromtxt(data, dtype=(int, float, int), names="a")
array([(1, 2.0, 3), (4, 5.0, 6)],
dtype=[('a', '<i8'), ('f0', '<f8'), ('f1', '<i8')])
The above code is from NumPy official documentation. https://numpy.org/doc/stable/user/basics.io.genfromtxt.html#setting-the-names
When I ran it on my local PC, the result was different. The '<f8' in the second element was the same, but I got '<i4' at the first and the third elements instead of '<i8' as in the example.
What makes the differenct? I ran it on Windows 10 PC of i7-6700 CPU. Might it depend on the hardware?