home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1114351614 and user = 387624 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 1

  • philippemiron · 3 ✖

issue 1

  • [Bug]: reading NaT/NaN on M1 ARM chip · 3 ✖

author_association 1

  • NONE 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1134796696 https://github.com/pydata/xarray/issues/6191#issuecomment-1134796696 https://api.github.com/repos/pydata/xarray/issues/6191 IC_kwDOAMm_X85Do5-Y philippemiron 387624 2022-05-23T15:08:27Z 2022-05-23T15:09:48Z NONE

It is replaced by the first value of the array. If you change to:

time = pd.date_range(start="2022-01-02",end="2022-01-11").to_pydatetime()

the NaT is replaced by '2022-01-02T00:00:00.000000000'. Maybe it is stored internally as a time_origin and some time_delta, and the NaT are replaced by 0?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [Bug]: reading NaT/NaN on M1 ARM chip 1114351614
1022224801 https://github.com/pydata/xarray/issues/6191#issuecomment-1022224801 https://api.github.com/repos/pydata/xarray/issues/6191 IC_kwDOAMm_X8487emh philippemiron 387624 2022-01-26T14:01:43Z 2022-01-26T14:02:43Z NONE

I'm actually using miniforge which natively supports ARM64. Uninstalling netCDF4 does not fix the issue. And actually, opening the same file as follow:

from netCDF4 import Dataset f = Dataset('test.nc') f['time'][:] gives the expected results (dates are not recognized but the nan is there): masked_array(data=[0.0, 1.0, 2.0, 3.0, --, 5.0, 6.0, 7.0, 8.0, 9.0], mask=[False, False, False, False, True, False, False, False, False, False], fill_value=nan)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [Bug]: reading NaT/NaN on M1 ARM chip 1114351614
1021611725 https://github.com/pydata/xarray/issues/6191#issuecomment-1021611725 https://api.github.com/repos/pydata/xarray/issues/6191 IC_kwDOAMm_X8485I7N philippemiron 387624 2022-01-25T21:10:28Z 2022-01-25T21:10:28Z NONE

So far I haven't spotted any other issues with libnetcdf.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [Bug]: reading NaT/NaN on M1 ARM chip 1114351614

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 406.81ms · About: xarray-datasette