pe.data.tabular.tabular_csv module

class pe.data.tabular.tabular_csv.TabularCSV(csv_path, metadata_path)[source]

Bases: Data

The tabular dataset in CSV format.

__init__(csv_path, metadata_path)[source]

Constructor.

Parameters:
  • csv_path (str) – The path to the CSV file or the URL to the CSV file

  • metadata_path (str) – The path to the metadata file or the URL to the metadata file

get_tab_info()[source]

Get the information of the private data.

Returns:

The information (categories and numerical bounds) of the private data

Return type:

dict

class pe.data.tabular.tabular_csv.TabularColumnType(value)[source]

Bases: Enum

The type of the tabular column.

CATEGORICAL = 'cat'
FLOAT = 'float'
INTEGER = 'int'