A struct should work in the header section, and a numpy memmap would be effective for a data section if you would still manipulate it in numpy. There is no need to emphasize what is incompatible here. Both methods are compatible, just use the appropriate tool for each job.
source
share