-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: remove take_1d alias of take_nd #39731
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
REF: remove take_1d alias of take_nd #39731
Conversation
right . i think your next take_1d_array will make more sense (and consider actually naming IT take_1d) |
Yes, but I am not directly planning on using the |
sure but its more clear now. thanks. |
@jreback @jorisvandenbossche This is causing benchmarks CI to fail? |
@lithomas1 can u show where |
I think this is it https://github.com/pandas-dev/pandas/runs/1875678358. |
ahh the benchmarks ok - care to do a PR to fix |
Removed in pandas-dev#39731.
Whoops, sorry forgot to search/replace in the benchmarks |
Removed in #39731.
@jreback as discussed in #39692
Since this is just an alias, this is certainly fine in theory. Although now doing it, I think there is still some value of the alias to signal that it is taking a 1D array which can provide useful context when reading code that uses this.