Attributes

shape

Purpose

Return the shape of the dataset in the following format:

(num_row, num_col)
  • num_row is the number of objects contained in the dataset.
  • num_col is the number of columns that contain feature data.

Type

tuple

is_empty_

Purpose

Indicates that an empty array was input.

Type

bool

In this article: