shapelets.DataSet.shape#

DataSet.shape() Tuple[int, int]#

Returns the shape of this DataSet, as a tuple containing the number of rows and the column count.

Note

This method traverses the dataset to count the number of rows.

Examples

>>> df.shape()
(1000,5)