Skip to content

CLN/ASV: avoid deprecation warnings in ASVs #54301

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
Jul 29, 2023

Conversation

lukemanley
Copy link
Member

Avoid various future warnings being raised in ASVs.

@lukemanley lukemanley added Clean Benchmark Performance (ASV) benchmarks labels Jul 29, 2023
@lukemanley lukemanley added this to the 2.1 milestone Jul 29, 2023
@@ -42,7 +42,7 @@ class ReplaceList:
param_names = ["inplace"]

def setup(self, inplace):
self.df = pd.DataFrame({"A": 0, "B": 0}, index=range(4 * 10**7))
self.df = pd.DataFrame({"A": 0, "B": 0}, index=range(10**7))
Copy link
Member Author

Choose a reason for hiding this comment

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

just resizing this ASV a bit to reduce runtime

@mroeschke mroeschke merged commit aefede9 into pandas-dev:main Jul 29, 2023
@mroeschke
Copy link
Member

Thanks @lukemanley

@lukemanley lukemanley deleted the asv-clean-deprecations branch August 1, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Benchmark Performance (ASV) benchmarks Clean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants