Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Oct 12, 2022

What changes were proposed in this pull request?

in Series.autocorr, rename periods as lag

Why are the changes needed?

when implementing the Series.autocorr in my first PS PR #36048 , I wrongly follow the parameter name min_periods in Series.corr, it should be lag to be the same with Pandas

Does this PR introduce any user-facing change?

no, since 3.4 is not released

How was this patch tested?

existing UTs

Copy link
Member

@Yikun Yikun left a comment

Choose a reason for hiding this comment

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

LGTM, it was added in master branch (3.4.0 not released yet), safe to rename

@zhengruifeng
Copy link
Contributor Author

Merged into master, thanks @Yikun

@zhengruifeng zhengruifeng deleted the ps_ser_autocorr_rename_parameter branch October 13, 2022 00:44
SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
… consistent with Pandas

### What changes were proposed in this pull request?
in `Series.autocorr`, rename `periods` as `lag`

### Why are the changes needed?
when implementing the `Series.autocorr` in my first PS PR apache#36048 , I wrongly follow the parameter name `min_periods` in `Series.corr`, it should be `lag` to be the same with [Pandas](https://pandas.pydata.org/docs/reference/api/pandas.Series.autocorr.html)

### Does this PR introduce _any_ user-facing change?
no, since 3.4 is not released

### How was this patch tested?
existing UTs

Closes apache#38216 from zhengruifeng/ps_ser_autocorr_rename_parameter.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants