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 helpful to have a class that I could interact with programmatically to handle all things related to single table metadata.
SingleTableMetadata
__init__
to_dict
python_dict = metadata.to_dict()
_load_from_dict
metadata = SingleTableMetadata._load_from_dict(dict)
__repr__
>>> print(metadata) { "columns": { "student_id": { "sdtype": "numerical" }, "gender": { "sdtype": "categorical" }, "gpa": { "sdtype": "numerical" }, "age": { "sdtype": "numerical" }, "education_level": { "sdtype": "categorical" } } }
The text was updated successfully, but these errors were encountered:
pvk-developer
No branches or pull requests
Problem Description
As a user, it would be helpful to have a class that I could interact with programmatically to handle all things related to single table metadata.
Expected behavior
SingleTableMetadata
__init__
requires no parametersto_dict
method that returns the underlying json as a python dictionary_load_from_dict
class method that returns aSingleTableMetadata
instance with the dictionary set to the dict provided__repr__
method should be overwritten so that when printed, the metadata class shows the underlying dictionaryThe text was updated successfully, but these errors were encountered: