home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 605704846

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/3890#issuecomment-605704846 https://api.github.com/repos/pydata/xarray/issues/3890 605704846 MDEyOklzc3VlQ29tbWVudDYwNTcwNDg0Ng== 10194086 2020-03-29T21:30:38Z 2020-03-29T21:30:38Z MEMBER

Not very elegant...

```python from collections import Counter

input_core_dims = [["time"], ["time", "foo"], ["bar"]] exclude_dims = set(["time"])

c = Counter() for dims in input_core_dims: for d in dims: if d in exclude_dims: d_new = f"{d}_{c[d]}" c.update([d]) else: d_new = d print(d_new) ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  587735698
Powered by Datasette · Queries took 0.742ms · About: xarray-datasette