home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1975221937

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
1975221937 PR_kwDOAMm_X85efDP6 8407 Add expand_dims 14371165 closed 0     5 2023-11-03T00:01:22Z 2023-12-12T20:54:45Z 2023-12-01T18:52:11Z MEMBER   0 pydata/xarray/pulls/8407

This allows adding a dimension of an array. Which is relevant when for example using keepdims in NamedArray.reduce.

Normally you can do this with None but that's not really allowed in the getitem documentation currently https://data-apis.org/array-api/2022.12/API_specification/generated/array_api.array.getitem.html

Should follow the standard but with an additional dim argument, dim should be preferred over the axis argument. https://data-apis.org/array-api/draft/API_specification/generated/array_api.expand_dims.html

xref #8344, #8406

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

Links from other tables

  • 1 row from issues_id in issues_labels
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.916ms · About: xarray-datasette