-
Notifications
You must be signed in to change notification settings - Fork 175
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: Slow read_csv() Function with pandas 2.0.0 #224
Comments
This issue is marked as stale because there has been no activity for 21 days. Remove stale label or add new comments or this issue will be closed in 3 day. |
This issue is marked as stale because there has been no activity for 21 days. Remove stale label or add new comments or this issue will be closed in 3 day. |
Hi @TendouArisu , thanks for your attention and suggestions! We have conducted a few experiments and proved what you said. We limited pandas to 2.0.0 mainly because:
ValueError: 'index=True' is only valid when 'orient' is 'split', 'table', 'index', or 'columns'.
However, we found that pandas 2.0.1 - 2.0.3 work well both on performance and these two problems above. So we update the version of pandas to 2.0.3 in the latest PR #303 . Thanks for your suggestion again! Feel free to discuss with us if you have any further suggestions~ |
This issue is marked as stale because there has been no activity for 21 days. Remove stale label or add new comments or this issue will be closed in 3 day. |
Close this stale issue. |
Issue Description:
Hello.
I have discovered a performance degradation in the
read_csv
function of pandas version below 2.0.1. And I notice some parts of the repository depend on pandas 2.0.0 inenvironments/minimal_requires.txt
and some other dependencies require pandas below 2.0.1. 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 #52546 and #52548.I also found that
app.py
anddemos/data_process_loop/app.py
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 >= 2.0.1 or exploring other solutions to optimize the performance of
read_csv
.Any other workarounds or solutions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: