Skip to content
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

Skip sample_ratio validation when using Dask to prevent materialization of DF #3174

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

tgaddair
Copy link
Collaborator

@tgaddair tgaddair commented Mar 1, 2023

Calling len(df) forces materialization of the DF, which is something we want to avoid when using sample_ratio.

@tgaddair tgaddair merged commit 33c4012 into master Mar 1, 2023
@tgaddair tgaddair deleted the speedup-sample branch March 1, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants