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

Vectorize inefficient python for loops with numpy #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maldil
Copy link

@maldil maldil commented Jul 1, 2022

Hi Maintainers of this repo,

Thank you very much for your excellent work,
I am new to this repository. I am a researcher studying the best practices of evolving data science codes. According to our findings after examining 1000 data science repositories, migration of loop-based calculations is a widespread evolution practice among developers since it improves performance and code quality. I created this PR to make better use of NumPy functions and avoid unnecessary loops.

This PR is a minor contribution compared to all the hard work that you have done in this repo. However, I am hoping that it will enhance code quality and, hopefully, performance.

@maldil
Copy link
Author

maldil commented Jul 27, 2022

@stephantul could you please help to merge this PR

@Thynix
Copy link

Thynix commented Jul 13, 2023

@maldil You say hopefully it'll improve performance - it sounds like you didn't test it?

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