-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: avoid printing object in Dtype.construct_from_string message #26776
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
PERF: avoid printing object in Dtype.construct_from_string message #26776
Conversation
Codecov Report
@@ Coverage Diff @@
## master #26776 +/- ##
==========================================
- Coverage 91.72% 91.72% -0.01%
==========================================
Files 178 178
Lines 50779 50781 +2
==========================================
- Hits 46578 46577 -1
- Misses 4201 4204 +3
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #26776 +/- ##
==========================================
- Coverage 91.72% 91.72% -0.01%
==========================================
Files 178 178
Lines 50779 50781 +2
==========================================
- Hits 46578 46577 -1
- Misses 4201 4204 +3
Continue to review full report at Codecov.
|
Can you post the ASV for one of the affected benchmarks? |
Master:
This PR:
|
well that's a difference! though, why is the construction of the SDF so much? (even now) |
It's quite a big matrix / DataFrame (1000 columns), and we need to create a SparseArray for each column of the sparse matrix. So there is some conversion needed. It might be possible to optimize, although the |
thanks @jorisvandenbossche |
xref #26562 (comment)