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
BUG: Fix uploading of dataframes containing int64 and float64 columns (#117)
* BUG: Fix uploading of dataframes containing int64 and float64 columns
Fixes#116 and #96 by loading data in CSV chunks.
* ENH: allow chunksize=None to disable chunking in to_gbq()
Also, fixes lint errors.
* TST: update min g-c-bq lib to 0.29.0 in CI
* BUG: pass schema to load job for to_gbq
* Generate schema if needed for table creation.
* Restore _generate_bq_schema, as it is used in tests.
* Add fixes to changelog.
Copy file name to clipboardExpand all lines: docs/source/changelog.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ Changelog
7
7
8
8
- Fix an issue where Unicode couldn't be uploaded in Python 2 (:issue:`93`)
9
9
- Add support for a passed schema in :func:``to_gbq`` instead inferring the schema from the passed ``DataFrame`` with ``DataFrame.dtypes`` (:issue:`46`)
10
-
10
+
- Fix an issue where a dataframe containing both integer and floating point columns could not be uploaded with ``to_gbq`` (:issue:`116`)
11
+
- ``to_gbq`` now uses ``to_csv`` to avoid manually looping over rows in a dataframe (should result in faster table uploads) (:issue:`96`)
0 commit comments