issue_comments: 419166914
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/2399#issuecomment-419166914 | https://api.github.com/repos/pydata/xarray/issues/2399 | 419166914 | MDEyOklzc3VlQ29tbWVudDQxOTE2NjkxNA== | 514522 | 2018-09-06T16:56:44Z | 2018-09-06T16:56:44Z | CONTRIBUTOR | Thanks for the feedback!
```python import pandas as pd df = pd.DataFrame(data=[0, 1, 2], index=list("aab")) print(df.loc[list("ab")]) 0a 0a 1b 2``` is an INNER JOIN between the two indexes
Another example: ```python import pandas as pd df = pd.DataFrame(data=[0, 1], index=list("aa")) print(df.loc[list("aa")]) 0a 0a 1a 0a 1``` is again an INNER JOIN between the two indexes
This translate into an unidimensional index:
Converting it back to the matricial representation:
In summary, my suggestion is to consider the possibility of defining indexing The multi-dimensional indexing, as far as I can see, can always be transformed into the uni-dimensional case and treated as such. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
357156174 |