-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: extract_array -> _values #40150
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
Conversation
Should we then also use consistently
? cc @jorisvandenbossche as you're commented on |
another option would be to define it pd_array in core.construction and import it into the pd namespace as |
For me this PR doesn't change what I said previously about it. In tests we should prefer to use public API where possible, this PR is about internal imports.
That doesn't solve the issue that I want it as |
understood - thanks for explaining! |
any non-trivial perf impact? and should we have a rule for internal tests? (to use |
Maybe I communicated poorly. The ideas was that |
@jbrockmendel I understood that correctly ;) (but so then it doesn't matter for tests, and since you were replying to Marco's comment about tests, I thought it was related to that) |
Found that grepping for uses of pd.array is a PITA, so went through and changed them all (inside core) to pd_array. @MarcoGorelli would it be feasible to make a code check for this?