-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
PEFR/BUG/API: rename_categories with a series #17981
Labels
Milestone
Comments
TomAugspurger
added
API Design
Bug
Categorical
Categorical Data Type
Performance
Memory or execution speed performance
labels
Oct 25, 2017
xref #17586 implementing the dict-like rename. |
TomAugspurger
added a commit
to TomAugspurger/pandas
that referenced
this issue
Oct 25, 2017
HEAD: ``` [ 50.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat 6.63ms [ 50.00%] ····· [100.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat_ordered 4.85ms ``` Closes pandas-dev#17981
I made #17982 assuming we want to use treat series as an array-like. I think that's the right move here, for backwards compat, but it's a bit unfortunate to have to special case it here. |
jreback
pushed a commit
that referenced
this issue
Oct 26, 2017
* PERF/API: Treat series as array-like for rename_categories HEAD: ``` [ 50.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat 6.63ms [ 50.00%] ····· [100.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat_ordered 4.85ms ``` Closes #17981 * Redo docstring * Use list-like * Warn * Fix doc indent * Doc cleanup * More doc cleanup * Fix API reference * Typos
peterpanmj
pushed a commit
to peterpanmj/pandas
that referenced
this issue
Oct 31, 2017
* PERF/API: Treat series as array-like for rename_categories HEAD: ``` [ 50.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat 6.63ms [ 50.00%] ····· [100.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat_ordered 4.85ms ``` Closes pandas-dev#17981 * Redo docstring * Use list-like * Warn * Fix doc indent * Doc cleanup * More doc cleanup * Fix API reference * Typos
No-Stream
pushed a commit
to No-Stream/pandas
that referenced
this issue
Nov 28, 2017
* PERF/API: Treat series as array-like for rename_categories HEAD: ``` [ 50.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat 6.63ms [ 50.00%] ····· [100.00%] ··· Running categoricals.Categoricals3.time_rank_string_cat_ordered 4.85ms ``` Closes pandas-dev#17981 * Redo docstring * Use list-like * Warn * Fix doc indent * Doc cleanup * More doc cleanup * Fix API reference * Typos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
In 0.20.3 that was
Do we want to treat series like an array or a dictionary here?
(this is causing the perf slowdown in rank I think).
The text was updated successfully, but these errors were encountered: