home / github

Menu
  • GraphQL API
  • Search all tables

pull_requests

Table actions
  • GraphQL API for pull_requests

2 rows where user = 8982598

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
83548075 MDExOlB1bGxSZXF1ZXN0ODM1NDgwNzU= 996 closed 0 add 'no_conflicts' as compat option for merging non-conflicting data jcmgray 8982598 This solves #742 and partially #835 (does not address a combine_first option yet). It essentially adds a notnull_equals method to Variable (and currently DataArray/set) that merge can use to compare objects, subsequently combining them with 'fillna'. Used as such: ``` python >>> import xarray as xr >>> ds1 = xr.Dataset(data_vars={'x': ('a', [1, 2])}) >>> ds2 = xr.Dataset(data_vars={'x': ('a', [2, 3])}, coords={'a': [1, 2]}) >>> xr.merge([ds1, ds2], compat='notnull_equals') <xarray.Dataset> Dimensions: (a: 3) Coordinates: * a (a) int64 0 1 2 Data variables: x (a) float64 1.0 2.0 3.0 ``` Should be very easy to add other merging options such as overwriting left to write and vice versa. ## TODO - docs - tests for various type combinations - some of the error excepting is mirrored from `equals` and might not be necessary (e.g. for numpy structured arrays). ## ISSUES - It seemed natural to add notnull_equals as a method to Dataset, but it might be unnecessary/not useful. Current version is conservative in that it still requires aligned Datasets with all the same variables. - Due to the float nature of NaN, type is sometimes not preserved, e.g. merging two int arrays yields a float array, even when the final array has no NaN values itself. - float rounding errors can cause unintended failures, so a notnull_allclose option might be nice. Currently all tests passing (6 new), and no flake8 errors on the diff... 2016-08-31T23:38:00Z 2016-09-15T16:07:16Z 2016-09-15T16:07:16Z 2016-09-15T16:07:16Z f40d323c76f6cab9615567e4ba7afde7860f7775     0 0e814386aebbeb40c8c9c5eff79b5f31904997ba 41654ef5e9da8cd15f3b68f8384f8c45c7fc16e9 CONTRIBUTOR   xarray 13221727 https://github.com/pydata/xarray/pull/996  
190798560 MDExOlB1bGxSZXF1ZXN0MTkwNzk4NTYw 2189 closed 0 docs: add xyzpy to projects jcmgray 8982598 Justs adds [xyzpy](http://xyzpy.readthedocs.io) to the list of projects utilizing ``xarray``. 2018-05-27T17:38:44Z 2018-05-27T20:46:07Z 2018-05-27T20:45:38Z 2018-05-27T20:45:38Z a8c1ed2ae3cc15863d37d869a7e1658eb33e01f6     0 45c9dc0a4fd49f56312540b247a592ce1ddee9da a28aab005b42eabe0b1651d2330ed2f3268bb9f8 CONTRIBUTOR   xarray 13221727 https://github.com/pydata/xarray/pull/2189  

Advanced export

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

CSV options:

CREATE TABLE [pull_requests] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [state] TEXT,
   [locked] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [body] TEXT,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [merged_at] TEXT,
   [merge_commit_sha] TEXT,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [draft] INTEGER,
   [head] TEXT,
   [base] TEXT,
   [author_association] TEXT,
   [auto_merge] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [url] TEXT,
   [merged_by] INTEGER REFERENCES [users]([id])
);
CREATE INDEX [idx_pull_requests_merged_by]
    ON [pull_requests] ([merged_by]);
CREATE INDEX [idx_pull_requests_repo]
    ON [pull_requests] ([repo]);
CREATE INDEX [idx_pull_requests_milestone]
    ON [pull_requests] ([milestone]);
CREATE INDEX [idx_pull_requests_assignee]
    ON [pull_requests] ([assignee]);
CREATE INDEX [idx_pull_requests_user]
    ON [pull_requests] ([user]);
Powered by Datasette · Queries took 17.561ms · About: xarray-datasette