-
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.
BigQuery: Add client.insert_rows_from_dataframe() method (#9162)
* Add client.insert_rows_from_dataframe() method * Avoid using nametuples for dataframe row iteration dataframe.itertuples() returns plain tuples under certain conditions, thus this commit enforces always returning plain tuples, and constructs the row dictionary manually from each tuple. * Skip insert_rows_from_dataframe tests if no Pandas
- Loading branch information
Showing
3 changed files
with
245 additions
and
0 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
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