home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 1420230433 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • dcherian 2
  • Illviljan 2
  • keewis 2

issue 1

  • Avoid loading any data for reprs · 6 ✖

author_association 1

  • MEMBER 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1295194062 https://github.com/pydata/xarray/pull/7203#issuecomment-1295194062 https://api.github.com/repos/pydata/xarray/issues/7203 IC_kwDOAMm_X85NMxfO dcherian 2448579 2022-10-28T16:23:14Z 2022-10-28T16:23:14Z MEMBER

Thanks @Illviljan

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Avoid loading any data for reprs  1420230433
1292269044 https://github.com/pydata/xarray/pull/7203#issuecomment-1292269044 https://api.github.com/repos/pydata/xarray/issues/7203 IC_kwDOAMm_X85NBnX0 dcherian 2448579 2022-10-26T16:00:16Z 2022-10-26T16:00:16Z MEMBER

Feedback from meeting: - let's merge - we should point to ds.head().load() if people actually want to see these values. @Illviljan Can you add this to the whats-new note please?

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Avoid loading any data for reprs  1420230433
1289198558 https://github.com/pydata/xarray/pull/7203#issuecomment-1289198558 https://api.github.com/repos/pydata/xarray/issues/7203 IC_kwDOAMm_X85M15ve keewis 14808389 2022-10-24T15:18:53Z 2022-10-24T15:18:53Z MEMBER

right, this seems to be an old (but unfortunately still unfixed) issue in numpy: numpy/numpy#9464

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Avoid loading any data for reprs  1420230433
1289191705 https://github.com/pydata/xarray/pull/7203#issuecomment-1289191705 https://api.github.com/repos/pydata/xarray/issues/7203 IC_kwDOAMm_X85M14EZ Illviljan 14371165 2022-10-24T15:13:59Z 2022-10-24T15:13:59Z MEMBER

I have 64bit windows and python appears to be running in 64bit, still I get int32 for some reason:

``` xr.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:30:19) [MSC v.1929 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: en LOCALE: ('Swedish_Sweden', '1252') libhdf5: 1.12.2 libnetcdf: 4.8.1 xarray: 2022.9.1.dev266+gbd01f9cc.d20221006 pandas: 1.5.0 numpy: 1.23.3 scipy: 1.9.1 netCDF4: 1.6.1 pydap: installed h5netcdf: 1.0.2 h5py: 3.7.0 Nio: None zarr: 2.13.2 cftime: 1.6.2 nc_time_axis: 1.4.1 PseudoNetCDF: 3.2.2 rasterio: 1.3.2 cfgrib: None iris: 3.3.0 bottleneck: 1.3.5 dask: 2022.9.2 distributed: 2022.9.2 matplotlib: 3.6.0 cartopy: 0.21.0 seaborn: 0.12.0 numbagg: 0.2.1 fsspec: 2022.8.2 cupy: None pint: 0.19.2 sparse: 0.13.0 flox: 0.5.10.dev21+g91b6e19 numpy_groupies: 0.9.19 setuptools: 65.5.0 pip: 22.2.2 conda: None pytest: 7.1.3 IPython: 7.33.0 sphinx: 5.3.0 C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") ```
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Avoid loading any data for reprs  1420230433
1288939892 https://github.com/pydata/xarray/pull/7203#issuecomment-1288939892 https://api.github.com/repos/pydata/xarray/issues/7203 IC_kwDOAMm_X85M06l0 keewis 14808389 2022-10-24T12:10:45Z 2022-10-24T12:53:36Z MEMBER

FWIW, I think the issue is not unix vs windows but 32bit OS vs 64bit OS.

In any case, if we want to be consistent I guess we have to specify the dtype explicitly? So instead of np.arange(300) we'd get np.arange(300, dtype=np.int64).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Avoid loading any data for reprs  1420230433
1288532110 https://github.com/pydata/xarray/pull/7203#issuecomment-1288532110 https://api.github.com/repos/pydata/xarray/issues/7203 IC_kwDOAMm_X85MzXCO Illviljan 14371165 2022-10-24T07:20:32Z 2022-10-24T07:20:32Z MEMBER

``` @requires_netCDF4 def test_repr_file_collapsed(tmp_path) -> None: arr_to_store = xr.DataArray(np.arange(300), dims="test") arr_to_store.to_netcdf(tmp_path / "test.nc", engine="netcdf4")

    with xr.open_dataarray(tmp_path / "test.nc") as arr, xr.set_options(
        display_expand_data=False
    ):
        actual = arr.__repr__()
        expected = dedent(
            """\
        <xarray.DataArray (test: 300)>
        [300 values with dtype=int32]
        Dimensions without coordinates: test"""
        )
      assert actual == expected

E AssertionError: assert '<xarray.Data...dinates: test' == '<xarray.Data...dinates: test' E Skipping 47 identical leading characters in diff, use -v to show E - dtype=int32] E ? ^^ E + dtype=int64] E ? ^^ E Dimensions without coordinates: test ``` Once again differences with windows and mac/linux... I suppose this wasn't tested previously.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Avoid loading any data for reprs  1420230433

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 170.769ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows