The current API expects to load the data from file, but there are also many usecases where the data should be loaded from a DataFrame, just ensuring that the correct columns are there and the structure is stored correctly. It should be just up to the user to rename the columns, or we can provide a dictionary as a mapping file to rename the columns to make sure that the user doesn't have to change their own dataframe etc.
This should overall improve the API and user experience.
The current API expects to load the data from file, but there are also many usecases where the data should be loaded from a DataFrame, just ensuring that the correct columns are there and the structure is stored correctly. It should be just up to the user to rename the columns, or we can provide a dictionary as a mapping file to rename the columns to make sure that the user doesn't have to change their own dataframe etc.
This should overall improve the API and user experience.