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

data frame and vector min and max slow #545

Open
rvyas opened this issue Sep 17, 2022 · 0 comments
Open

data frame and vector min and max slow #545

rvyas opened this issue Sep 17, 2022 · 0 comments

Comments

@rvyas
Copy link

rvyas commented Sep 17, 2022

Hi, using .min and .max for vector is too slow for large dataset (3.5m records) than using the .to_a.min and .to_a.max.

vector.describe:          99.064083   0.171811  99.235894 ( 99.350809)
vector.to_a.min:           0.056799   0.000000   0.056799 (  0.056925)
vector.min:                39.123274   0.087998  39.211272 ( 39.260956)

Same goes for percentile and median.

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

No branches or pull requests

1 participant