pytc.df.thc.convert_x_to_rank_major¶
- pytc.df.thc.convert_x_to_rank_major(src, dst, *, dataset='X', row_block=8)[source]¶
Convert one X dataset to rank-major layout, chunked over an nmo axis.
src/dstare paths or openh5py.Fileobjects. The loop materializes one(nmo, row_block, rank)slab at a time, so peak host memory isnmo * row_block * rank * 8bytes (~1.6 GiB at the default block). Returns the destination path or file unchanged. The destination dataset is written contiguous (no HDF5 chunking) so panel reads stay single sequential extents.