-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(automl): fix uploading pandas dataframe to AutoML Tables (#9647)
pandas.dataframe.to_csv() by default exports data index as an column with empty column name. This causes uploading the export csv file to fail because AutoML Tables does not allow empty column names. Given that the data index is not useful for training the model. This PR fixes the problem by setting the index argument to false so that the index is not exported.
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters