home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 341149017 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • seth-p 3
  • shoyer 1

author_association 2

  • CONTRIBUTOR 3
  • MEMBER 1

issue 1

  • ENH: format_array_flat() always displays first and last items. · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
405369880 https://github.com/pydata/xarray/pull/2285#issuecomment-405369880 https://api.github.com/repos/pydata/xarray/issues/2285 MDEyOklzc3VlQ29tbWVudDQwNTM2OTg4MA== seth-p 7441788 2018-07-16T20:23:50Z 2018-07-16T20:23:50Z CONTRIBUTOR

Replaced with https://github.com/pydata/xarray/pull/2293.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  ENH: format_array_flat() always displays first and last items. 341149017
405368970 https://github.com/pydata/xarray/pull/2285#issuecomment-405368970 https://api.github.com/repos/pydata/xarray/issues/2285 MDEyOklzc3VlQ29tbWVudDQwNTM2ODk3MA== seth-p 7441788 2018-07-16T20:20:38Z 2018-07-16T20:20:38Z CONTRIBUTOR

For some reason (presumably due to Github's outage today), this PR isn't updating to reflect the latest commits in my branch. So I'm going to close this one and create a new one.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  ENH: format_array_flat() always displays first and last items. 341149017
405305811 https://github.com/pydata/xarray/pull/2285#issuecomment-405305811 https://api.github.com/repos/pydata/xarray/issues/2285 MDEyOklzc3VlQ29tbWVudDQwNTMwNTgxMQ== seth-p 7441788 2018-07-16T16:28:21Z 2018-07-16T16:28:21Z CONTRIBUTOR

Sample output:

``` (base) C:\Users\Seth\github\xarray>ipython Python 3.6.5 | packaged by conda-forge | (default, Apr 6 2018, 16:13:55) [MSC v.1900 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import xarray as xr

In [2]: words = "This is the time for all good men to come to the aid of their country".split(' ')

In [3]: for i in range(0, len(words) + 1): ...: print("-------------------------------------------------------------------------------") ...: print(xr.DataArray(words[:i], dims=('foo',), coords={'foo': words[:i]})) ...:


<xarray.DataArray (foo: 0)> array([], dtype=float64) Coordinates: * foo (foo) float64


<xarray.DataArray (foo: 1)> array(['This'], dtype='<U4') Coordinates: * foo (foo) <U4 'This'


<xarray.DataArray (foo: 2)> array(['This', 'is'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is'


<xarray.DataArray (foo: 3)> array(['This', 'is', 'the'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the'


<xarray.DataArray (foo: 4)> array(['This', 'is', 'the', 'time'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time'


<xarray.DataArray (foo: 5)> array(['This', 'is', 'the', 'time', 'for'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' 'for'


<xarray.DataArray (foo: 6)> array(['This', 'is', 'the', 'time', 'for', 'all'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' 'for' 'all'


<xarray.DataArray (foo: 7)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' 'for' 'all' 'good'


<xarray.DataArray (foo: 8)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' 'for' 'all' 'good' 'men'


<xarray.DataArray (foo: 9)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' ... 'all' 'good' 'men' 'to'


<xarray.DataArray (foo: 10)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' ... 'good' 'men' 'to' 'come'


<xarray.DataArray (foo: 11)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come', 'to'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' ... 'men' 'to' 'come' 'to'


<xarray.DataArray (foo: 12)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come', 'to', 'the'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' ... 'to' 'come' 'to' 'the'


<xarray.DataArray (foo: 13)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come', 'to', 'the', 'aid'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' ... 'come' 'to' 'the' 'aid'


<xarray.DataArray (foo: 14)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come', 'to', 'the', 'aid', 'of'], dtype='<U4') Coordinates: * foo (foo) <U4 'This' 'is' 'the' 'time' 'for' ... 'to' 'the' 'aid' 'of'


<xarray.DataArray (foo: 15)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come', 'to', 'the', 'aid', 'of', 'their'], dtype='<U5') Coordinates: * foo (foo) <U5 'This' 'is' 'the' 'time' ... 'the' 'aid' 'of' 'their'


<xarray.DataArray (foo: 16)> array(['This', 'is', 'the', 'time', 'for', 'all', 'good', 'men', 'to', 'come', 'to', 'the', 'aid', 'of', 'their', 'country'], dtype='<U7') Coordinates: * foo (foo) <U7 'This' 'is' 'the' 'time' ... 'of' 'their' 'country' ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  ENH: format_array_flat() always displays first and last items. 341149017
405027630 https://github.com/pydata/xarray/pull/2285#issuecomment-405027630 https://api.github.com/repos/pydata/xarray/issues/2285 MDEyOklzc3VlQ29tbWVudDQwNTAyNzYzMA== shoyer 1217238 2018-07-14T14:38:52Z 2018-07-14T14:39:22Z MEMBER

Can you share a few examples of what xarray.Dataset objects look like with this change?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  ENH: format_array_flat() always displays first and last items. 341149017

Advanced export

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

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 12.162ms · About: xarray-datasette