Skip to content

DataTableColumns

Describes the columns of a data table, including names, types, and nullability. Useful for schema inspection and column selection.

DataTableColumns

Represents the columns of a data table.

Attributes:

Name Type Description
table_name str

The name of the table.

display_name str

The display name of the table.

columns list[DataTableColumn]

A list of columns in the table.

__len__() -> int

Return the number of columns.

to_dataframe() -> pd.DataFrame

Return columns as a pandas DataFrame.

to_list() -> list[Any]

Return column names as a list.