You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, it would be helpful to be able to modify or add to the metadata programmatically.
Expected behavior
Add update_column method
Not all fields are required. Just update the ones provided in the SingleTableMetadata's dict
Parameters:
column_name: string that is the name of the column to update
**kwargs: any key word arguments that describe metadata for a column
Errors:
If the column doesn't already exist in the metadata raise the following error Error: Column name ('ssnn') does not exist in the table. Use 'add_column' to add new columns.
All required parameters for the column metadata must be provided
Parameters:
column_name: string that is the name of the column to update
**kwargs: any key word arguments that describe metadata for a column
Errors:
If the column already is in the metadata, raise the following error: Error: Column name 'user_id' already exists. Use 'update_column' to update an existing column.
Run all of the column validations that are done in the validate method. eg. Error: Invalid values ("pii") for numerical column "age". Error: Invalid values ("pii") for numerical column "age".
Problem Description
As a user, it would be helpful to be able to modify or add to the metadata programmatically.
Expected behavior
update_column
methodSingleTableMetadata
's dictcolumn_name
: string that is the name of the column to update**kwargs
: any key word arguments that describe metadata for a columnError: Column name ('ssnn') does not exist in the table. Use 'add_column' to add new columns.
validate
method. eg. Add validate method to SingleTableMetadata #879Error: Invalid values ("pii") for numerical column "age".
add_column
methodcolumn_name
: string that is the name of the column to update**kwargs
: any key word arguments that describe metadata for a columnError: Column name 'user_id' already exists. Use 'update_column' to update an existing column.
validate
method. eg.Error: Invalid values ("pii") for numerical column "age".
Error: Invalid values ("pii") for numerical column "age".
The text was updated successfully, but these errors were encountered: