-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: pandas/pandas/core/window/ewm.py #34867
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
Comments
Thanks @db-baron for the report - are you interested in submitting a pull request? |
take |
closing in favor of #34910 |
ehh? this is the issue, not PR? @jreback |
Reopening as I'm pretty sure Jeff meant to close #34901 instead :) |
jreback
pushed a commit
that referenced
this issue
Jun 20, 2020
* fixed issue #34867 * pep8: line too long * Update pandas/core/generic.py Co-authored-by: Kaiqi Dong <[email protected]> * fixed issue #34867 * fixed issue #34867 * fixed pep8 issue * renamed exponentialmoving back to ewm.py * pep 8 issues * pep 8 issues Co-authored-by: KrishnaSai2020 <[email protected]> Co-authored-by: Kaiqi Dong <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Location of the documentation
Docstring for
class EWM(_Rolling)
in ewm.py.Documentation problem
The purposes of the
EWM
class is unclear because there's no documentation on what 'ewm' is abbreviating. One reason this is confusing is thatewm
can easily be interpreted as either "exponentially weighted mean" or "exponentially weighted moving". TheEWM
class docstring actually muddies the water further by stating that the class provides "exponential weighted (EW) functions".Suggested fix for documentation
If it's absolutely necessary to use an abbreviation like
ewm
then the docstring needs to clearly state what it's abbreviating.The text was updated successfully, but these errors were encountered: