home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 818734171

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/5148#issuecomment-818734171 https://api.github.com/repos/pydata/xarray/issues/5148 818734171 MDEyOklzc3VlQ29tbWVudDgxODczNDE3MQ== 14808389 2021-04-13T13:25:54Z 2021-04-13T13:29:27Z MEMBER

we do want to allow general hashables to mirror the general dict object (and we do need it for some methods, like to_unstacked_dataset), but this is obviously nothing well tested. The main issue is that right now we sort Dataset dims and would need to be able to convert the keys to something comparable. See also #2173, where I suggested to convert to str. This might be too naive for immutable objects without a custom __str__ / __repr__, so something like this, maybe: python sorted(self.mapping, key=lambda k: (type(k).__qualname__, str(k))) which would group objects with the same type name together

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