GNNTable.unset_time_column()
Unset an existing column as the time column in the GNN table.
Parameters
Section titled “Parameters”| Name | Type | Description | Optional |
|---|---|---|---|
col_name | str | The name of an existing column to unset as the time column. | No |
Returns
Section titled “Returns”Raises ValueError if the column does not exist in the GNN table or if the column is not currently set as the time column.
Example
Section titled “Example”from relationalai_gnns import GNNTable, CandidateKey
table_with_time = GNNTable( connector=connector, name="TableWithTime", source="DATABASE.SCHEMA.TABLE_WITH_TIME", type="node", candidate_keys="IdColumn", time_column="date")
table_with_time.unset_time_column(col_name="date")