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

Potential performance issue: to_csv regression in pandas below 1.4 version #29

Open
TendouArisu opened this issue Mar 1, 2024 · 1 comment

Comments

@TendouArisu
Copy link

Issue Description:

Hello.
I have discovered a performance degradation in the .to_csv function of pandas version 1.2.0. And I notice the repository depends on pandas 1.2.0 in requirements.txt. I am not sure whether this performance problem in pandas will affect this repository. I found some discussions on pandas GitHub related to this issue, including #39413 and #44908.
I also found that 03-process-unsplash-dataset.ipynb used the influenced api. There may be more files using the influenced api.

Suggestion

I would recommend considering an upgrade to a different version of pandas >= 1.4 or exploring other solutions to optimize the performance of .to_csv.
Any other workarounds or solutions would be greatly appreciated.
Thank you!

@haltakov
Copy link
Owner

haltakov commented Mar 4, 2024

Thanks @TendouArisu, this is a valid point. I don't have much time to maintain this project right now, so not sure when I can get to it. I'm happy to merge a PR though

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

2 participants