'ds.table1D' re-written from scratch.