home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 611299453

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/3957#issuecomment-611299453 https://api.github.com/repos/pydata/xarray/issues/3957 611299453 MDEyOklzc3VlQ29tbWVudDYxMTI5OTQ1Mw== 30388627 2020-04-09T02:54:30Z 2020-04-09T02:54:30Z NONE

@JavierRuano Nice suggestion! I combine them to dataset, convert it to dataframe and then sort_values. Finally, convert the dataframe back to dataset: ``` ds = cld.to_dataset(name='cld') ds['pair'] = pair

df = ds.to_dataframe() new_ds = df.sort_values(by='cld').to_xarray().transpose() ```

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