-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fixed examples in pandas/core/window
#33266
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
DOC: Fixed examples in pandas/core/window
#33266
Conversation
pandas/core/window/ewm.py
Outdated
>>> df = pd.DataFrame(np.random.randn(10, 3), columns=['A', 'B', 'C']) | ||
>>> df = pd.DataFrame( | ||
... { | ||
... "A": [0.95117561, 0.632442, 0.72290796], |
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.
Just a suggestion, I personally find these example easier to digest with "simpler numbers" like [1, 2, 3]
, [4, 5, 6]
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.
Oh OK, no problem. I'll fix that, was just avoiding random output in the 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 ping on green
Thanks @MomIsBestFriend |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff