We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user, it would be very useful if there was a way to add a template of the metadata for each table to my MultiTableMetadata.
MultiTableMetadata
detect_table_from_csv(filepath)
SingleTableMetadata.detect_from_csv(filepath)
table_name
filepath
Error: Metadata for table 'users' already exists. Specify a new table name or create a new MultiTableMetadata object for other data sources.
>>> metadata = MultiTableMetadata() >>> metadata.detect_table_from_csv(table_name='users', filepath='data/users.csv') Detected metadata for table 'users': { "columns": { "student_id": { "sdtype": "numerical" }, "gender": { "sdtype": "categorical" }, "gpa": { "sdtype": "numerical" }, "age": { "sdtype": "numerical" }, "education_level": { "sdtype": "categorical" } } }
detect_table_from_dataframe(data)
SingleTableMetadata.detect_from_dataframe(filepath)
data
Error: Metadata for table 'users' already exists. Specify a new table name or create a new MultiTableMetadata object for other data sources..
The text was updated successfully, but these errors were encountered:
amontanez24
Successfully merging a pull request may close this issue.
Problem Description
As a user, it would be very useful if there was a way to add a template of the metadata for each table to my
MultiTableMetadata
.Expected behavior
detect_table_from_csv(filepath)
methodSingleTableMetadata.detect_from_csv(filepath)
table_name
: string that is the name of the tablefilepath
: string that is the full path to the csv filedetect_table_from_dataframe(data)
methodSingleTableMetadata.detect_from_dataframe(filepath)
table_name
: string that is the name of the tabledata
: the dataframeThe text was updated successfully, but these errors were encountered: