home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where author_association = "MEMBER", issue = 275033174 and user = 6815844 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • fujiisoup · 6 ✖

issue 1

  • IPython auto-completion triggers data loading · 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
345423843 https://github.com/pydata/xarray/issues/1727#issuecomment-345423843 https://api.github.com/repos/pydata/xarray/issues/1727 MDEyOklzc3VlQ29tbWVudDM0NTQyMzg0Mw== fujiisoup 6815844 2017-11-18T07:09:40Z 2017-11-18T07:09:40Z MEMBER

@shoyer Thanks. Confirmed. Closing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  IPython auto-completion triggers data loading 275033174
345423506 https://github.com/pydata/xarray/issues/1727#issuecomment-345423506 https://api.github.com/repos/pydata/xarray/issues/1727 MDEyOklzc3VlQ29tbWVudDM0NTQyMzUwNg== fujiisoup 6815844 2017-11-18T07:01:51Z 2017-11-18T07:01:51Z MEMBER

Thanks @shoyer . I think I should close the issue in jedi.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  IPython auto-completion triggers data loading 275033174
345422593 https://github.com/pydata/xarray/issues/1727#issuecomment-345422593 https://api.github.com/repos/pydata/xarray/issues/1727 MDEyOklzc3VlQ29tbWVudDM0NTQyMjU5Mw== fujiisoup 6815844 2017-11-18T06:39:07Z 2017-11-18T06:39:07Z MEMBER

It seems jedi's bug.

A minimal working example is 1. Save following as example.py ```python import traceback

class ExampleClass(object): def init(self): pass

@property
def value(self):
    print('value called')
    print(traceback.print_exc())

2. In IPython, dopython In [1]: import example

In [2]: ex = example.ExampleClass()

In [3]: ex.val -> press [Tab] value called Traceback (most recent call last): None KeyError: (('value',), frozenset()) File "/home/keisukefujii/anaconda3/envs/tensorflow/lib/python3.5/site-packages/jedi/cache.py", line 119, in wrapper return dct[key] File "/home/keisukefujii/anaconda3/envs/tensorflow/lib/python3.5/site-packages/jedi/cache.py", line 46, in wrapper return getattr(self, name) value called None AttributeError: 'CompiledName' object has no attribute '_infer' Traceback (most recent call last): ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  IPython auto-completion triggers data loading 275033174
345411599 https://github.com/pydata/xarray/issues/1727#issuecomment-345411599 https://api.github.com/repos/pydata/xarray/issues/1727 MDEyOklzc3VlQ29tbWVudDM0NTQxMTU5OQ== fujiisoup 6815844 2017-11-18T02:22:35Z 2017-11-18T02:22:57Z MEMBER

I found this happens with IPython=6.1.0, but does not with IPython=5.1.0. Maybe it is the upstream issue.

But if we can avoid this within xarray, it would be great,

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  IPython auto-completion triggers data loading 275033174
345408881 https://github.com/pydata/xarray/issues/1727#issuecomment-345408881 https://api.github.com/repos/pydata/xarray/issues/1727 MDEyOklzc3VlQ29tbWVudDM0NTQwODg4MQ== fujiisoup 6815844 2017-11-18T01:45:30Z 2017-11-18T01:45:30Z MEMBER

Thanks. This is reproduced also in my environment. It's strange ... Tagged as a bug.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  IPython auto-completion triggers data loading 275033174
345406561 https://github.com/pydata/xarray/issues/1727#issuecomment-345406561 https://api.github.com/repos/pydata/xarray/issues/1727 MDEyOklzc3VlQ29tbWVudDM0NTQwNjU2MQ== fujiisoup 6815844 2017-11-18T01:17:44Z 2017-11-18T01:17:44Z MEMBER

Your xr.Dataset consists only from a single coordinate variable python <xarray.Dataset> Dimensions: (myvar: 100000000) Coordinates: * myvar (myvar) float64 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 ... Data variables: *empty* (This behavior is somehow confusing...)

In xarray, coordinate variables are always loaded into memory.

The following example works well

```python In [1]: import xarray as xr ...: import numpy as np ...: ds = xr.Dataset({'myvar': (('x', 'y'), np.arange(100000000).reshape(1000 ...: , 100000))}, ...: coords={'x': np.arange(1000)}) ...: ds.to_netcdf('test.nc') ...:

In [2]: ds_on_disk = xr.open_dataset('test.nc') ...: ds_on_disk['myvar'].variable._in_memory ...: Out[2]: False

In [3]: ds_on_disk.my # -> [Tab] In [3]: ds_on_disk.myvar.variable._in_memory ...: Out[3]: False

In [4]: ds_on_disk['x'].variable._in_memory Out[4]: True ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  IPython auto-completion triggers data loading 275033174

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