Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery: Fix Pandas DataFrame load example under Python 2.7 #9022

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

plamut
Copy link
Contributor

@plamut plamut commented Aug 13, 2019

Closes #9007.

This PR adjust am example from the docs so that it works unmodified under Python 2.7, too.

How to test

  • Create a BigQuery table with columns as in the screenshot posted in the issue description.
  • Run the load DataFrame example from the docs using Python 2.7.

Actual result (before the fix):
The server responds with a 400 error (as reported in the issue).

Expected result (after the fix):
The adjusted example from the docs runs fine under Python 2.7, no error from the server.

@plamut plamut added api: bigquery Issues related to the BigQuery API. type: docs Improvement to the documentation for an API. labels Aug 13, 2019
@plamut plamut requested a review from a team August 13, 2019 12:51
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 13, 2019
@plamut plamut merged commit 2d622fd into googleapis:master Aug 13, 2019
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BigQuery: load_table_from_dataframe Not working with string columns
3 participants