-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat: support dataframe.cov #498
Conversation
|
bigframes/core/blocks.py
Outdated
""" | ||
if len(self.value_columns) > 30: | ||
raise NotImplementedError( | ||
f"Only work with dataframes containing fewer than 30 columns. Current: {len(self.columns)}. {constants.FEEDBACK_LINK}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please help to double check if error message matches with the code? Does "fewer than 30 columns" include 30?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments. Overall LGTM
|
||
def cov(self, *, numeric_only: bool = False) -> DataFrame: | ||
if not numeric_only: | ||
frame = self._raise_on_non_numeric("corr") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"cov"
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:
Document:
https://screenshot.googleplex.com/9egi7MsNj2uWHkH
Fixes #<issue_number_goes_here> 🦕