home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 288577529

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/1317#issuecomment-288577529 https://api.github.com/repos/pydata/xarray/issues/1317 288577529 MDEyOklzc3VlQ29tbWVudDI4ODU3NzUyOQ== 1217238 2017-03-23T00:06:34Z 2017-03-23T00:06:34Z MEMBER

I've written similar code in the past as well, so I would be pretty supportive of adding a utility class for this. Actually one of my colleagues wrote a virtually identical class for our xarray equivalent in TensorFlow -- take a look at it for some possible alternative API options.

For xarray, .stack() and .to_array(), or .to_dataframe() can do most of the heavy lifting instead of manually reshaping.

Thanks for the pointer to xlearn, too!

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