Skip to content

Fix MultiStageMean helper type annotations and pandas 3.0 frequency aliases - #209

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1032923673
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1032923673

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Fix MultiStageMean helper type annotations and pandas 3.0 frequency aliases

Replace xarray.Dataset with a TypeVar on MultiStageMean._prepare_key and _strip_leading_fanout_bin so Beam does not bind DatasetCoder to (sum, count) accumulator tuples, and replace deprecated uppercase H frequency strings (1H, 6H, 24H) with lowercase h (1h, 6h, 24h) in tests for pandas 3.0 compatibility.

@google-cla

google-cla Bot commented Dec 2, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…liases

Replace `xarray.Dataset` with a `TypeVar` on `MultiStageMean._prepare_key` and `_strip_leading_fanout_bin` so Beam does not bind `DatasetCoder` to `(sum, count)` accumulator tuples, and replace deprecated uppercase `H` frequency strings (`1H`, `6H`, `24H`) with lowercase `h` (`1h`, `6h`, `24h`) in tests for pandas 3.0 compatibility.

PiperOrigin-RevId: 1032923673
@copybara-service copybara-service Bot changed the title Fix MultiStageMean helper type annotations for tuple accumulators Fix MultiStageMean helper type annotations and pandas 3.0 frequency aliases Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants