-
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 Series.dt.normalize #483
Conversation
* feat: add params for LinearRegression model * fix tests * update docs
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.
lgtm
def test_dt_normalize(scalars_dfs, col_name): | ||
scalars_df, scalars_pandas_df = scalars_dfs | ||
bf_series: bigframes.series.Series = scalars_df[col_name] | ||
bf_result = bf_series.dt.normalize().to_pandas() |
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.
we don't define bf_series
, but just call scalars_df[col_name].dt.normalize().to_pandas()
. Would that work also?
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.
True, bf_series is unnecessary. Fixed, thanks!
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:
Fixes #<issue_number_goes_here> 🦕