Skip to content

DOC: correction to "size" in the plotting.bootstrap_plot docstring #35026

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

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

ericgrosz
Copy link
Contributor

The documentation for plotting.bootstrap_plot says that the size argument must be greater than or equal to the length of the series. Bootstrapping typically uses subsamples of a size less than or equal to the size of the data set, so I corrected the docs accordingly. Note that making size greater than the length of the series throws the following ValueError: Sample larger than population or is negative

The documentation for plotting.bootstrap_plot says that the size argument must be greater than or equal to the length of the series. Bootstrapping typically uses subsamples of a size less than or equal to the size of the data set, so I corrected the docs accordingly. Note that making size greater than the length of the series throws the following ValueError: Sample larger than population or is negative
@WillAyd WillAyd added the Docs label Jun 29, 2020
@WillAyd WillAyd added this to the 1.1 milestone Jun 29, 2020
@WillAyd WillAyd merged commit 84aa56b into pandas-dev:master Jun 29, 2020
@WillAyd
Copy link
Member

WillAyd commented Jun 29, 2020

Great thanks @ericgrosz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants