home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER" and issue = 454073421 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

  • shoyer 2
  • dcherian 1

issue 1

  • NaN values for variables when converting from a pandas dataframe to xarray.DataSet · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
602581904 https://github.com/pydata/xarray/issues/3007#issuecomment-602581904 https://api.github.com/repos/pydata/xarray/issues/3007 MDEyOklzc3VlQ29tbWVudDYwMjU4MTkwNA== dcherian 2448579 2020-03-23T13:15:15Z 2020-03-23T13:15:15Z MEMBER

Thanks @sjvrijn

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NaN values for variables when converting from a pandas dataframe to xarray.DataSet 454073421
501313101 https://github.com/pydata/xarray/issues/3007#issuecomment-501313101 https://api.github.com/repos/pydata/xarray/issues/3007 MDEyOklzc3VlQ29tbWVudDUwMTMxMzEwMQ== shoyer 1217238 2019-06-12T14:58:53Z 2019-06-12T14:58:53Z MEMBER

You will need to share a full example in order for me to explain why it works that way

On Wed, Jun 12, 2019 at 7:36 AM santianmen notifications@github.com wrote:

I know what "NaN" means. I was hoping that by transforming the dataset into a dataframe and then returning back, the dataset variables would recover its original shape.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/3007?email_source=notifications&email_token=AAJJFVUBDLFYNW2KB26SNQTP2ECX3A5CNFSM4HWRYQZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXQUM2Q#issuecomment-501302890, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJJFVVIXVCD6GUVFRIBEPDP2ECX3ANCNFSM4HWRYQZA .

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NaN values for variables when converting from a pandas dataframe to xarray.DataSet 454073421
501121539 https://github.com/pydata/xarray/issues/3007#issuecomment-501121539 https://api.github.com/repos/pydata/xarray/issues/3007 MDEyOklzc3VlQ29tbWVudDUwMTEyMTUzOQ== shoyer 1217238 2019-06-12T05:02:56Z 2019-06-12T05:02:56Z MEMBER

In xarray and pandas, "NaN" just means "missing value". This typically happens if your DataFrame does not contain a row for every combination of Dataset coordinates, for whatever reason.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NaN values for variables when converting from a pandas dataframe to xarray.DataSet 454073421

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