dataFrame — shape()

Description

The shape() method of the dataFrame object returns the number of rows and columns in the DataFrame.

Signature

dataFrame.shape()
Scope
dataFrame
Family
core
Returns
shape

Returns

shape (object)
An object with the columns and rows properties.
Properties
columns (number)
The number of columns.
rows (number)
The number of rows.

Example

// log the shape of a dataFrame
log(dataFrame.shape());