home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

10 rows where author_association = "NONE" and user = 69774 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 5

  • provide set_option `collapse_html` to control HTML repr collapsed state 5
  • jupyter repr caching deleted netcdf file 2
  • AttributeError accessing data_array.variable 1
  • FR: Provide option for collapsing the HTML display in notebooks 1
  • groupby_bins groups not correctly applied with built-in methods 1

user 1

  • michaelaye · 10 ✖

author_association 1

  • NONE · 10 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1463628223 https://github.com/pydata/xarray/issues/7601#issuecomment-1463628223 https://api.github.com/repos/pydata/xarray/issues/7601 IC_kwDOAMm_X85XPTG_ michaelaye 69774 2023-03-10T10:54:41Z 2023-03-10T10:54:41Z NONE

That, while I can open an xarray as a dask array using chunks:

I cannot make "use" of these chunks to get statistics per chunk, right? It's just an efficiency question for the dask.compute() stage, but not an actual way to get statistics per chunk?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  groupby_bins groups not correctly applied with built-in methods 1617395129
667615325 https://github.com/pydata/xarray/pull/4230#issuecomment-667615325 https://api.github.com/repos/pydata/xarray/issues/4230 MDEyOklzc3VlQ29tbWVudDY2NzYxNTMyNQ== michaelaye 69774 2020-08-02T02:32:26Z 2020-08-02T02:32:26Z NONE

i'm fine in fixing the name of the variable, but usually open source teams don't want a PR that addresses more than one issue at a time, are you sure you want it in here?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  provide set_option `collapse_html` to control HTML repr collapsed state 657792526
663791784 https://github.com/pydata/xarray/issues/4240#issuecomment-663791784 https://api.github.com/repos/pydata/xarray/issues/4240 MDEyOklzc3VlQ29tbWVudDY2Mzc5MTc4NA== michaelaye 69774 2020-07-25T01:41:20Z 2020-07-25T01:41:20Z NONE

now i'm wondering why the caching logic is only activated by the repr? As you can see, when printed, it always updated to the status on disk?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  jupyter repr caching deleted netcdf file 662505658
663791386 https://github.com/pydata/xarray/issues/4240#issuecomment-663791386 https://api.github.com/repos/pydata/xarray/issues/4240 MDEyOklzc3VlQ29tbWVudDY2Mzc5MTM4Ng== michaelaye 69774 2020-07-25T01:37:20Z 2020-07-25T01:37:20Z NONE

is there a workaround for forcing the opening without restarting the notebook?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  jupyter repr caching deleted netcdf file 662505658
659135636 https://github.com/pydata/xarray/pull/4230#issuecomment-659135636 https://api.github.com/repos/pydata/xarray/issues/4230 MDEyOklzc3VlQ29tbWVudDY1OTEzNTYzNg== michaelaye 69774 2020-07-16T03:27:43Z 2020-07-16T03:27:43Z NONE

I'm looking at the relevant test function:

python def test_repr_of_dataarray(dataarray): formatted = fh.array_repr(dataarray) assert "dim_0" in formatted # has an expanded data section assert formatted.count("class='xr-array-in' type='checkbox' checked>") == 1 # coords and attrs don't have an items so they'll be be disabled and collapsed assert ( formatted.count("class='xr-section-summary-in' type='checkbox' disabled >") == 2 )

I'm not very good with HTML, does this only check on the number of collapsed sections? I am kinda guessing that this code is abusing checkbox code to make the display collapsible? How could I check specifically if the data section is collapsed based on the OPTION setting?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  provide set_option `collapse_html` to control HTML repr collapsed state 657792526
659126681 https://github.com/pydata/xarray/pull/4230#issuecomment-659126681 https://api.github.com/repos/pydata/xarray/issues/4230 MDEyOklzc3VlQ29tbWVudDY1OTEyNjY4MQ== michaelaye 69774 2020-07-16T02:55:25Z 2020-07-16T02:55:25Z NONE

Oh, implemented the wrong default, things were confusing as the HTML code "checked" for the collapsed variable apparently means NOT collapsed...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  provide set_option `collapse_html` to control HTML repr collapsed state 657792526
659121827 https://github.com/pydata/xarray/pull/4230#issuecomment-659121827 https://api.github.com/repos/pydata/xarray/issues/4230 MDEyOklzc3VlQ29tbWVudDY1OTEyMTgyNw== michaelaye 69774 2020-07-16T02:37:32Z 2020-07-16T02:37:32Z NONE

For mypy I'm getting:

bash . is not a valid Python package name

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  provide set_option `collapse_html` to control HTML repr collapsed state 657792526
659120733 https://github.com/pydata/xarray/pull/4230#issuecomment-659120733 https://api.github.com/repos/pydata/xarray/issues/4230 MDEyOklzc3VlQ29tbWVudDY1OTEyMDczMw== michaelaye 69774 2020-07-16T02:33:56Z 2020-07-16T02:35:26Z NONE

I didn't isort this commit, usually other peeps hate it when i do it, happy that you actually require it! :)

But I'm getting this return while using isort -rc . in the root repo folder (is that the idea?)

bash $ isort -rc . (xarray-tests) /home/maye/miniconda3/envs/xarray-tests/lib/python3.7/site-packages/setuptools/distutils_patch.py:26: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first. "Distutils was imported before Setuptools. This usage is discouraged " Skipped 4 files

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  provide set_option `collapse_html` to control HTML repr collapsed state 657792526
659109046 https://github.com/pydata/xarray/issues/4229#issuecomment-659109046 https://api.github.com/repos/pydata/xarray/issues/4229 MDEyOklzc3VlQ29tbWVudDY1OTEwOTA0Ng== michaelaye 69774 2020-07-16T01:53:08Z 2020-07-16T01:53:08Z NONE

Related: #4182

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  FR: Provide option for collapsing the HTML display in notebooks 657769716
653247138 https://github.com/pydata/xarray/issues/4194#issuecomment-653247138 https://api.github.com/repos/pydata/xarray/issues/4194 MDEyOklzc3VlQ29tbWVudDY1MzI0NzEzOA== michaelaye 69774 2020-07-02T22:34:01Z 2020-07-02T22:34:01Z NONE

ah sorry, i tried to search but didn't recognize that as the same thing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError accessing data_array.variable 650231649

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