kumoai.connector.SourceColumn#

class kumoai.connector.SourceColumn[source]#

Bases: object

The metadata of a column in a source table. Note that a source column simply provides a view into the metadata of a source table. To modify metadata, please create a Kumo Table and adjust the table’s data and semantic types.

Note

Semantic types are inferred based on data types only, and thus may not be accurate.

Parameters:
  • name (str) – The name of the column.

  • stype (Stype, optional) – The semantic type of the column.

  • dtype (Dtype) – The data type of the column

  • is_primary (bool) – Whether the column refers to a primary key.

__init__(name, stype, dtype, is_primary)#