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 convenient to be able to detect the metadata for a whole dataset at once, instead of one table at a time. This would speed up the process and also enable detection for relationships to be done.
Currently we have the following detect methods in MultiTableMetadata:
These methods only detect one table at a time which is inconvenient.. It also makes it impossible to detect information between tables like relationships. For this reason we want to add two new methods that allow us to detect an entire folder or dictionary of dataframes at once.
Expected behavior
Add detect_from_csvs
parameters:
folder_name: full name of folder where the csvs are stored.
behavior: This method should loop through all the csvs in the folder and load them the same way detect_table_from_csv does. Use the name of the csv as the table name (ie. if the file is adults.csv then the table name is adults).
Add detect_from_dataframes
parameters:
data: dictionary mapping table names to dataframes.
behavior: This method should loop through the dataframes in the dictionary and detect them one at a time similarly to detect_table_from_dataframe.
Problem Description
As a user, it would be convenient to be able to detect the metadata for a whole dataset at once, instead of one table at a time. This would speed up the process and also enable detection for relationships to be done.
Currently we have the following detect methods in
MultiTableMetadata
:These methods only detect one table at a time which is inconvenient.. It also makes it impossible to detect information between tables like relationships. For this reason we want to add two new methods that allow us to detect an entire folder or dictionary of dataframes at once.
Expected behavior
Add
detect_from_csvs
folder_name
: full name of folder where the csvs are stored.detect_table_from_csv
does. Use the name of the csv as the table name (ie. if the file is adults.csv then the table name is adults).Add
detect_from_dataframes
data
: dictionary mapping table names to dataframes.detect_table_from_dataframe
.The text was updated successfully, but these errors were encountered: