datatable.Frame.shape

Tuple with (nrows, ncols) dimensions of the frame.

This property is read-only.

Parameters

return
Tuple[int, int]

Tuple with two integers: the first is the number of rows, the second is the number of columns.

See also

  • nrows – getter for the number of rows;

  • ncols – getter for the number of columns.