home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 291189965

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/pull/1347#issuecomment-291189965 https://api.github.com/repos/pydata/xarray/issues/1347 291189965 MDEyOklzc3VlQ29tbWVudDI5MTE4OTk2NQ== 1217238 2017-04-03T16:06:10Z 2017-04-03T16:06:10Z MEMBER

How can I add API docs? Only to add a single line to api.rst?

Yes, that's correct.

I changed my mind. reshape sounds too general. How about append_dims or attach_dims ?

Indeed, I would rather not do reshape, because this method does not support arbitrary reshaping (e.g., length 100 vector-> 10x10 matrix). Instead, it assigns dimensions using array broadcasting and transpose, which unlike reshape does not ever copy data. Maybe set_dims would be better? I also would be OK with attach_dims. append_dims makes it sound like dimensions are always appended (they aren't).

Actually, reshape could indeed be a nice method to add to Dataset/DataArray, as an alternative to stack/unstack.

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