-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
This helper function _assert_is_pandas_df is called for a variety of file formats, but the error message mentions CSV specifically:
Lines 17 to 23 in 70380b4
| def _assert_is_pandas_df(x): | |
| import pandas as pd | |
| if not isinstance(x, pd.DataFrame): | |
| raise NotImplementedError( | |
| "Currently only pandas.DataFrame can be saved to a CSV." | |
| ) |
I think this function should be changed to accept a type argument so that an appropriate message can be constructed dynamically.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels