home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

2 rows where repo = 13221727 and user = 2805515 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date), closed_at (date)

type 2

  • issue 1
  • pull 1

state 1

  • closed 2

repo 1

  • xarray · 2 ✖
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
232350436 MDU6SXNzdWUyMzIzNTA0MzY= 1434 xr.concat loses coordinate dtype information with recarrays in 0.9 mivade 2805515 closed 0     10 2017-05-30T19:04:07Z 2023-01-23T16:22:15Z 2023-01-23T10:23:48Z CONTRIBUTOR      

Simple example script:

```python import numpy as np import xarray as xr

p1 = np.array([('A', 180), ('B', 150), ('C', 200)], dtype=[('name', '|S256'), ('height', int)]) p2 = np.array([('D', 170), ('E', 250), ('F', 150)], dtype=[('name', '|S256'), ('height', int)])

data1 = np.arange(50, 80, 1, dtype=np.float) data2 = data1 * 2

dims = ['measurement', 'participant']

da1 = xr.DataArray( data1.reshape(10, 3), coords={ 'measurement': np.arange(10), 'participant': p1, 'samplerate': 1 }, dims=dims )

da2 = xr.DataArray( data2.reshape(10, 3), coords={ 'measurement': np.arange(10), 'participant': p2, 'samplerate': 1 }, dims=dims )

combined = xr.concat([da1, da2], dim='participant') print(da1.participant.dtype) print(da2.participant.dtype) print(combined.participant.dtype) ```

With xarray version 0.9.5 (and 0.8.2), this results in:

[('name', 'S256'), ('height', '<i8')] [('name', 'S256'), ('height', '<i8')] object

We have to go all the way back to xarray version 0.7 to get the expected behavior:

[('name', 'S256'), ('height', '<i8')] [('name', 'S256'), ('height', '<i8')] [('name', 'S256'), ('height', '<i8')]

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1434/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
231639859 MDExOlB1bGxSZXF1ZXN0MTIyNjUyMzE0 1427 Fix broken holoviews link mivade 2805515 closed 0     1 2017-05-26T14:18:33Z 2017-05-26T16:40:23Z 2017-05-26T16:40:19Z CONTRIBUTOR   0 pydata/xarray/pulls/1427

This is a trivial fix to point to the current location of the HoloViews documentation.

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

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [active_lock_reason] TEXT,
   [draft] INTEGER,
   [pull_request] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [state_reason] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
);
CREATE INDEX [idx_issues_repo]
    ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
    ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
    ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
    ON [issues] ([user]);
Powered by Datasette · Queries took 33.255ms · About: xarray-datasette