-
Notifications
You must be signed in to change notification settings - Fork 125
ValueError: setting an array element with a sequence. #123
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
Comments
Interesting. Maybe a regression from #101? Or maybe those tests were insufficient? |
Confirmed it indeed fails and only on arrays with floats and timestamps. For example:
Same for timestamps, for which it fails as well:
Error:
Which leads us to the custom dtype handling we're doing here in _parse_data:
I assume this has something to do with handling NULLS as indicated by the link at the top of the function, but I wonder if we can strip this out safely or handle it differently? |
Thanks! |
INFO:
pandas_gbq.__version__ : '0.3.0', '0.3.1'
python
:3.6.2, 3.5.2
SNIPPET:
ERROR:
ISSUE:
'patents-public-data.google_patents_research.publications'
- a public dataset.'embedding_v1'
- a repeated float field.Google BigQuery tools parses this query without a problem, but pandas-gbq outputs the upper-mentioned issue.
Maybe related to #101
The text was updated successfully, but these errors were encountered: