-
Notifications
You must be signed in to change notification settings - Fork 128
fix(deps): support pandas 3.0 (prerelease) #998
Changes from 2 commits
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", | ||
| ), | ||
| } | ||
|
|
@@ -365,7 +365,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
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. 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.