home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 33638153

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
33638153 MDU6SXNzdWUzMzYzODE1Mw== 132 Dataset.to_array method 1217238 closed 0     4 2014-05-16T00:37:12Z 2015-04-22T04:34:54Z 2015-04-22T04:34:54Z MEMBER      

It should be possible to easily convert back and forth between Datasets and DataArrays that consist of each variable in a Dataset stacked along a "variable" dimension.

The implementation for to_array should be mostly equivalent to DataArray.from_series(ds.to_dataframe().stack()), although for performance reasons we probably don't actually want to convert everything into intermediate representations as pandas object.

Similarly, to_dataset(dimension) would be roughly equivalent to Dataset.from_dataframe(array.to_series().stack(dimension)).

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/132/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 1.453ms · About: xarray-datasette