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 some template of the metadata could automatically be detected/constructed from my data.
detect_from_csv(filepath)
filepath
Error: Metadata already exists. Create a new SingleTableMetadata object to detect from other data sources.
>>> metadata = SingleTableMetadata() >>> metadata.detect_from_csv(filepath='folder/data.csv') Detected metadata: { "columns": { "student_id": { "sdtype": "numerical" }, "gender": { "sdtype": "categorical" }, "gpa": { "sdtype": "numerical" }, "age": { "sdtype": "numerical" }, "education_level": { "sdtype": "categorical" } } }
detect_from_dataframe(data)
data
The text was updated successfully, but these errors were encountered:
SingleTableMetadata
pvk-developer
Successfully merging a pull request may close this issue.
Problem Description
As a user, it would be very useful if some template of the metadata could automatically be detected/constructed from my data.
Expected behavior
detect_from_csv(filepath)
methodfilepath
: string that is the full path to the csv filedetect_from_dataframe(data)
methoddata
: the dataframeThe text was updated successfully, but these errors were encountered: