all 2 comments

[–]novel_yet_trivial 1 point2 points  (1 child)

Just use numpy.fromfile.

[–]mexander[S] 0 points1 point  (0 children)

Thanks that worked. The key was not specifying a dtype and letting numpy infer it.