home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 471978276

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/2805#issuecomment-471978276 https://api.github.com/repos/pydata/xarray/issues/2805 471978276 MDEyOklzc3VlQ29tbWVudDQ3MTk3ODI3Ng== 23265127 2019-03-12T12:23:23Z 2019-03-12T12:23:23Z NONE

Hi shoyer, many thanks for your quick reply. Converting the xarray to a DataFrame indeed does the job and I will use this solution for the time being. Nevertheless, to me the approach seems rather like an ad-hoc solution since it requires a series of conversions / function calls and I feel like there should be some built-in solution from xarray. In particular, in the above solution, you lose track of what are the coordinates and what is the actual data (all is stored in a single NamedTuple), which requires an additional step to separate the two data structures. Anyway, thanks for your help! If you find another solution, please let me know!

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