// Verify that the stored data comes back in the shape you expect:
dset.to_array();
// get the first row, and all of the columns (empty slice selection means all)
dset.slice([[0,1],[]]);
// null for the start value of a slice is equivalent to zero (or None in a numpy slice): from the start
// null for the second value is equivalent to the dimension size N, which means all elements to the end
dset.slice([[0,1],[2,null]]);
// the optional third element of the slice is 'stride', so you can take e.g. every other column like this:
dset.slice([[0,1],[null,null,2]]);
// get the second and third columns:
dset.slice([[],[1,3]]);
// get the columns in column-order by adjusting the stride:
dset.slice([[],[
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.