pytc.df.thc.add_rank_major

pytc.df.thc.add_rank_major(store, *, x_dataset='X', out_dataset='X_rm', row_block=8)[source]

Append a rank-major copy of X to an existing store, in place.

The store keeps x_dataset (innermost) untouched for legacy consumers (eris build, fingerprint manifest); the factorized contraction reads out_dataset when present. An existing out_dataset is kept only when it is shape/attr-valid AND its provenance stamp matches the current x_dataset; a stale twin (X rewritten after the twin was built) is rebuilt.