Inconsistent MultiIndex behaviour when indexing selects no rows
Inconsistent MultiIndex behaviour when indexing selects no rows: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Output Indexing df results in an empty dataframe in this case. However, if the third level of the MultiIndex is left out (as below), it results in a KeyError. In…
The task
Output Indexing df results in an empty dataframe in this case. However, if the third level of the MultiIndex is left out (as below), it results in a KeyError. In my opinion, this behaviour is confusing and inconsistent. Preferably, both cases would throw KeyError. This…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.