schema.datashape.matrix.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/schema > DataShape > matrix
DataShape.matrix property
Defines the Row x Column layout of a raw list of values (e.g., a pandas Series). For example, { data: [1,2,3,4,5,6], shape: { matrix: [3, 2] } } is interpreted as table 1 2 3 4 5 6
Signature:
matrix?: [width: number, height: number];