You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While groupby throws a ValueError when the string parameter refers both to an index level and column name, query gives the column precedence in such a case:
I am sure there are many other places where a string can refer to both an index level and column name. #27652 and #8162 are somehow linked.
Even though those issues might not be solved, it would be desirable to handle the above ambiguity consistently in places where both index levels and column labels can be referenced by a string argument.
The text was updated successfully, but these errors were encountered:
ChrisStuff
changed the title
ENH: Inconsistency when string refers both to index level and column label
label:"API - Consistency" ENH: Inconsistency when string refers both to index level and column label
Jun 15, 2020
ChrisStuff
changed the title
label:"API - Consistency" ENH: Inconsistency when string refers both to index level and column label
ENH: Inconsistency when string refers both to index level and column label
Jun 15, 2020
While groupby throws a ValueError when the string parameter refers both to an index level and column name, query gives the column precedence in such a case:
I am sure there are many other places where a string can refer to both an index level and column name. #27652 and #8162 are somehow linked.
Even though those issues might not be solved, it would be desirable to handle the above ambiguity consistently in places where both index levels and column labels can be referenced by a string argument.
The text was updated successfully, but these errors were encountered: