home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

7 rows where state = "closed", type = "pull" and user = 23618263 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 1

  • pull · 7 ✖

state 1

  • closed · 7 ✖

repo 1

  • xarray 7
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
690769335 MDExOlB1bGxSZXF1ZXN0NDc3NjEzNTQ5 4402 Use a copy of dask_gufuc_kwargs griverat 23618263 closed 0     1 2020-09-02T06:52:07Z 2020-09-04T15:57:19Z 2020-09-04T15:57:19Z CONTRIBUTOR   0 pydata/xarray/pulls/4402
  • [x] Closes #4399
  • [ ] Tests added
  • [x] Passes isort . && black . && mypy . && flake8
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst

Following the suggestion of @kmuehlbauer, I am using just a shallow copy since a deep one is not required.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4402/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
537144956 MDExOlB1bGxSZXF1ZXN0MzUyNTUzNDkz 3615 Minor docstring fixes griverat 23618263 closed 0     1 2019-12-12T18:33:27Z 2019-12-12T19:13:41Z 2019-12-12T18:48:50Z CONTRIBUTOR   0 pydata/xarray/pulls/3615

Really minor docstring fixes, just added 's' at the end of kwarg and deleted Default n = 5 from thin method's docstring since it doesn't have a default value.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3615/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
493765130 MDExOlB1bGxSZXF1ZXN0MzE3NjU2NzEz 3309 Fix DataArray api doc griverat 23618263 closed 0     2 2019-09-15T17:36:46Z 2019-09-15T21:22:30Z 2019-09-15T20:27:31Z CONTRIBUTOR   0 pydata/xarray/pulls/3309

Seems like I forgot to point head, tail and thin to the right direction in the DataArray api documentation

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3309/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
491324262 MDExOlB1bGxSZXF1ZXN0MzE1NzE0MjYz 3298 Accept int value in head, thin and tail griverat 23618263 closed 0     7 2019-09-09T21:00:41Z 2019-09-15T07:05:58Z 2019-09-14T21:46:16Z CONTRIBUTOR   0 pydata/xarray/pulls/3298

Related #3278 This PR makes the methods head, thin and tail for both DataArray and Dataset accept a single integer value as a parameter. If no parameter is given, then it defaults to 5. - [x] Tests added - [x] Passes black . && mypy . && flake8

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3298/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
488812619 MDExOlB1bGxSZXF1ZXN0MzEzNzU3MjIw 3278 Add head, tail and thin methods griverat 23618263 closed 0     6 2019-09-03T20:41:42Z 2019-09-05T05:49:36Z 2019-09-05T04:22:24Z CONTRIBUTOR   0 pydata/xarray/pulls/3278

I feel like there's room for improvement in the docstrings, any change or suggestion is welcome!

  • [x] Closes #319
  • [x] Tests added
  • [x] Passes black . && mypy . && flake8
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3278/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
486153978 MDExOlB1bGxSZXF1ZXN0MzExNjYzOTg2 3271 Raise proper error for scalar array when coords is a dict griverat 23618263 closed 0     3 2019-08-28T04:29:02Z 2019-08-29T17:23:20Z 2019-08-29T17:09:00Z CONTRIBUTOR   0 pydata/xarray/pulls/3271

As explained here https://github.com/pydata/xarray/pull/3159#discussion_r316230281 , when a user uses a scalar array to build a DataArray with coords given as a dictionary the error is not self explanatory. ```python

xr.DataArray(np.array(1), coords={'x': np.arange(4), 'y': 'a'}, dims=['x']) ... KeyError: 'x' ```

This PR makes sure that when data is a scalar array and dims is not empty, it sets the shape to (0,) to make it fail with the proper raise message

```python

xr.DataArray(np.array(1), coords={'x': np.arange(4), 'y': 'a'}, dims=['x']) ... ValueError: conflicting sizes for dimension 'x': length 0 on the data but length 4 on coordinate 'x' ```

  • [x] Test updated
  • [x] Passes black . && mypy . && flake8
  • [ ] Fully documented, including whats-new.rst for all changes and api.rst for new API (is this needed for a change like this?)
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3271/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
472100381 MDExOlB1bGxSZXF1ZXN0MzAwNTc2Nzc4 3159 Initialize empty or full DataArray griverat 23618263 closed 0     20 2019-07-24T06:21:50Z 2019-08-27T16:28:04Z 2019-08-26T20:36:36Z CONTRIBUTOR   0 pydata/xarray/pulls/3159

I attempted to implement what has been asked for in #277 as an effort to contribute to this project. This PR adds the ability to initialize a DataArray with a constant value, including np.nan. Also, if data = None then it is initialized as np.empty to take advantage of its speed for big arrays. ```python

foo = xr.DataArray(None, coords=[range(3), range(4)]) foo <xarray.DataArray (dim_0: 3, dim_1: 4)> array([[4.673257e-310, 0.000000e+000, 0.000000e+000, 0.000000e+000], [0.000000e+000, 0.000000e+000, 0.000000e+000, 0.000000e+000], [0.000000e+000, 0.000000e+000, 0.000000e+000, 0.000000e+000]]) Coordinates: * dim_0 (dim_0) int64 0 1 2 * dim_1 (dim_1) int64 0 1 2 3 ```

  • [x] Closes #878, #277
  • [x] Tests added
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Regarding the tests, I am not sure how to test the creation of an empty DataArray with data=None since the values changes between calls of np.empty. This is the reason I only added the test for the constant value.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3159/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 25.57ms · About: xarray-datasette