home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 479932490

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
479932490 MDExOlB1bGxSZXF1ZXN0MzA2NzI1MTYx 3211 Array formatting fixes for sparse and NEP-18 arrays. 1217238 closed 0     4 2019-08-13T02:41:37Z 2019-08-16T19:14:04Z 2019-08-16T19:12:28Z MEMBER   0 pydata/xarray/pulls/3211

I also did a bit of cleanup (e.g., renaming methods) in xarray.core.formatting.

Sparse arrays were previously not shown in the Dataset repr:

<xarray.Dataset>
Dimensions:  (x: 4)
Coordinates:
    y        (x) int64 ...
Dimensions without coordinates: x
Data variables:
    a        (x) float64 ..."""

Now they are:

<xarray.Dataset>
Dimensions:  (x: 4)
Coordinates:
    y        (x) int64 <COO: shape=(4,), nnz=3, fill_value=0>
Dimensions without coordinates: x
Data variables:
    a        (x) float64 <COO: shape=(4,), nnz=4, fill_value=0.0>"""
  • [x] Tests added
  • [x] Passes black . && mypy . && flake8
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3211/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

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