Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 7, 2026. It is now read-only.

fix: Improve strictness of nan vs None usage#2326

Merged
tswast merged 2 commits into
maingoogleapis/python-bigquery-dataframes:mainfrom
equiv_utilgoogleapis/python-bigquery-dataframes:equiv_utilCopy head branch name to clipboard
Dec 12, 2025
Merged

fix: Improve strictness of nan vs None usage#2326
tswast merged 2 commits into
maingoogleapis/python-bigquery-dataframes:mainfrom
equiv_utilgoogleapis/python-bigquery-dataframes:equiv_utilCopy head branch name to clipboard

Conversation

@TrevorBergeron

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Dec 11, 2025
@product-auto-label product-auto-label Bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Dec 12, 2025
@TrevorBergeron TrevorBergeron marked this pull request as ready for review December 12, 2025 18:09
@TrevorBergeron TrevorBergeron requested review from a team and tswast December 12, 2025 18:09

@tswast tswast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines +3540 to +3541
# pandas 3.0 does not automatically ffill anymore
pd_result = scalars_pandas_df_index[col_names].ffill().pct_change(periods=periods)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we should put a bug for our bigframes 3.0 hotlist to change our pct_change behavior too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

created issue 468354979

@tswast tswast merged commit 481d938 into main Dec 12, 2025
24 of 25 checks passed
@tswast tswast deleted the equiv_util branch December 12, 2025 18:27
@ldetmer ldetmer mentioned this pull request Jan 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.