module aixplain.modules.data
class Data
method __init__
__init__(
id: str,
name: str,
dtype: DataType,
privacy: Privacy,
onboard_status: OnboardStatus,
data_column: Optional[Any] = None,
start_column: Optional[Any] = None,
end_column: Optional[Any] = None,
files: List[File] = [],
languages: List[Language] = [],
dsubtype: DataSubtype = <DataSubtype.OTHER: 'other'>,
length: Optional[int] = None,
**kwargs
) → None
Data Class.
Description: Data consists of a list of samples of same type and genre.
Args:
id
(Text): Data IDname
(Text): Data Namedtype
(DataType): Data Typeprivacy
(Privacy): Privacy of dataonboard_status
(OnboardStatus): onboard statusdata_column
(Optional[Any], optional): Column index/name where the data is on a structured file (e.g. CSV). Defaults to None.start_column
(Optional[Any], optional): Column index/name where the start indexes is on a structured file (e.g. CSV). Defaults to None.end_column
(Optional[Any], optional): Column index/name where the end indexes is on a structured file (e.g. CSV). Defaults to None.files
(List[File], optional): List of files where the data instances are stored. Defaults to [].languages
(List[Language], optional): List of languages which the data consists of. Defaults to [].dsubtype
(DataSubtype, optional): Data subtype (e.g., age, topic, race, split, etc.), used in datasets metadata. Defaults to Other.length
(Optional[int], optional): Number of rows in the Data. Defaults to None.