Get: Data Read

Reads and previews the first few rows of a dataset. This is useful for inspecting the structure and contents of a file before processing or training.

Endpoint:

/data_handler/data_read/read_nrows

Input Parameters:

  • file_location (string, required): Path to the dataset file (e.g., CSV).
  • n_rows (integer): Number of rows to read from the file.

    Default: 100

  • delimiter (any): Delimiter used in the dataset file.

    Default: ,

  • textqualifier (any): Text qualifier used in the file, such as double quotes.

    Default: "

Output:

Returns the top n_rows from the dataset as a preview, helping users validate data formatting and content before further actions like EDA or model training.