-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Migrate documentation for regr*
aggregate functions to code
#12871
Conversation
@@ -76,23 +80,7 @@ impl Regr { | |||
} | |||
} | |||
|
|||
/* |
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.
drive by clean up -- I don't know why this code was commented out
Given input column Y and X: regr_slope(Y, X) returns the slope (k in Y = k*X + b) using minimal RSS fitting.", | ||
) | ||
.with_syntax_example("regr_slope(expression_y, expression_x)") | ||
.with_standard_argument("expression_y", "Expression") |
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.
This currently renders as Expression expression to operate on. Can be a constant, column, or function, and any combination of operators.
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.
Fixed. Thank you
Beyond the one minor change this LGTM |
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, thank you @alamb
Thank you for the review @korowa |
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.
Thanks @alamb it looks good to me 👍
🚀 let's do this. Thanks again @goldmedal and @korowa |
Which issue does this PR close?
Part of #12827
Rationale for this change
#12861 from @jonathanc-n moves some of the aggregate function documentation to the code, but the
regr
functions are handled speciallyWhat changes are included in this PR?
Move
regr_*
aggregate functions to codeAre these changes tested?
Yes y CI
Are there any user-facing changes?