Tables
After you have connected your source tables and applied any necessary transformations, you can construct a Graph consisting of Table objects.
A Kumo Graph represents a connected set of Tables. Each Table fully specifies the metadata of its underlying SourceTable (including selected columns, data types, semantic types, and relational constraints) for modeling purposes.
Creating Tables from Source
You can construct a Table from a SourceTable in multiple ways. The simplest approach is to call from_source_table():
Inspecting Table Metadata
To verify the inferred metadata, call the metadata property:
To adjust individual column properties, access columns by name:
Building Tables from Scratch
You can also define a table manually, with Kumo inferring metadata for any partially specified columns:
Modifying Table Metadata
Table exposes the same methods to inspect and adjust metadata regardless of how it was created:
The column() method returns a Column object containing that column’s metadata.
You can also modify the primary key, add or remove columns:
Table Identity
Tables do not have names in the Kumo Fine-Tune SDK: a table is fully specified by its configuration in code. Two notebooks using the same table configuration refer to the same table object in the Kumo backend. Editing a table creates a new object in the backend, independent of other tables.
Fully specify your tables in production code to avoid unexpected re-inference of metadata.