GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(bigquery): unit and system test for dataframe with int column with Nan values by HemangChothani · Pull Request #39 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Conversation
Contributor
Fixes #22
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
MaxxleLLC
force-pushed
the
bigquery_issue_22
branch
from
12345bb to
b906717
Compare
plamut
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's good, just have two suggestion on improving the
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Seems like more correct? (disclaimer: not a native speaker)
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thought - I think comparing plain version strings will actually work in this particular case, but cannot be generalized (e.g. somebody copies this pattern over to another test, or if we have to change the version for some reason). Let's instead add a library like packaging as a test dependency, and use that for parsing and semantically comparing versions?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BTW, why pandas version
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed, but need suggestion on version comparison like should i use
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
| "Only `pandas version >=1.0.1` is supported", | ||
| ) | ||
| @unittest.skipIf(pyarrow is None, "Requires `pyarrow`") | ||
| def test_load_table_from_dataframe_w_none_value(self): |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The nullable Int64 data type is the real reason for the test. There are plenty of existing tests & samples with loading None values object dtype.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@shollyman Friendly ping. :) @HemangChothani Please just bring the branch up to date in the meanwhile, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…into bigquery_issue_22
…into bigquery_issue_22
|
@shollyman PTAL! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…into bigquery_issue_22
…into bigquery_issue_22
|
@shollyman Friendly ping. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| (TooManyRequests, InternalServerError, ServiceUnavailable) | ||
| ) | ||
|
|
||
| PANDAS_MINIUM_VERSION = pkg_resources.parse_version("1.0.0") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
s/MINIUM/MINIMUM/ and all the references
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…into bigquery_issue_22
…into bigquery_issue_22
…into bigquery_issue_22
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
BigQuery : ArrowTypeError when trying to push DataFrame with int columns with NaN values
There was an error while loading. Please reload this page.