<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [DataShape](./schema.datashape.md) &gt; [matrix](./schema.datashape.matrix.md)

## 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

<b>Signature:</b>

```typescript
matrix?: [width: number, height: number];
```
