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.

feat: Add df.groupby().corr()/cov() support#2190

Merged
tswast merged 1 commit into
maingoogleapis/python-bigquery-dataframes:mainfrom
df_corrgoogleapis/python-bigquery-dataframes:df_corrCopy head branch name to clipboard
Oct 23, 2025
Merged

feat: Add df.groupby().corr()/cov() support#2190
tswast merged 1 commit into
maingoogleapis/python-bigquery-dataframes:mainfrom
df_corrgoogleapis/python-bigquery-dataframes:df_corrCopy 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 Oct 22, 2025
@TrevorBergeron TrevorBergeron marked this pull request as ready for review October 23, 2025 00:39
@TrevorBergeron TrevorBergeron requested review from a team and jialuoo October 23, 2025 00:39

@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!

for left_col in self._selected_cols
for right_col in self._selected_cols
]
# unique columns stops

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.

Nit: I don't fully understand this comment, but I can infer from the context below that we're doing something to guarantee uniqueness here?

**Examples:**


>>> df = bpd.DataFrame({'A': [1, 2, 3],

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.

Very cool to see that this works with the Polars session. :-)

@tswast tswast added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 23, 2025
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 23, 2025
@tswast tswast enabled auto-merge (squash) October 23, 2025 15:39
@tswast tswast merged commit ccd7c07 into main Oct 23, 2025
25 checks passed
@tswast tswast deleted the df_corr branch October 23, 2025 15:41
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: m Pull request size is medium.

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.