-
Notifications
You must be signed in to change notification settings - Fork 126
fix(deps): support pandas 3.0 (prerelease) #998
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -155,7 +155,7 @@ def test_series_round_trip( | |
| dtype="boolean", | ||
| ), | ||
| "object_col": pandas.Series( | ||
| [False, None, True], | ||
| [False, pandas.NA, True], | ||
| dtype="object", | ||
| ), | ||
| } | ||
|
|
@@ -344,7 +344,10 @@ def test_series_round_trip( | |
| # google-cloud-bigquery versions 1.x and 2.x, but not 3.x. | ||
| # https://github.com/googleapis/python-bigquery-pandas/issues/365 | ||
| "datetime_col": [ | ||
| datetime.datetime(1, 1, 1), | ||
| # CSV loader in BigQuery currently requires leading 0s | ||
| # for TIMESTAMP but not DATETIME. See internal issue | ||
| # b/467399807. | ||
| datetime.datetime(1000, 1, 1), | ||
|
Comment on lines
+368
to
+371
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. The comment on lines 347-349 is a bit confusing. It states that the CSV loader's requirement for leading zeros applies to
Collaborator
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. Correct. I use year >= 1000 so that no leading zeros are required. |
||
| datetime.datetime(1970, 1, 1), | ||
| datetime.datetime(9999, 12, 31, 23, 59, 59, 999999), | ||
| ], | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.