home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

1 row where state = "open", type = "issue" and user = 44284270 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 1

  • issue · 1 ✖

state 1

  • open · 1 ✖

repo 1

  • xarray 1
id node_id number title user state locked assignee milestone comments created_at updated_at ▲ closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
476602539 MDU6SXNzdWU0NzY2MDI1Mzk= 3184 scipy skewnorm function doesnt work with xarray rolling window? mada0007 44284270 open 0     3 2019-08-04T22:48:08Z 2022-04-18T16:01:40Z   NONE      

MCVE Code Sample

```python loc,scale,shape = da.rolling(time=59).reduce(scipy.stats.skewnorm)

```

Expected Output

python-traceback Traceback (most recent call last): File "<input>", line 1, in <module> File "/Users/mada0007/anaconda3/envs/modes/lib/python3.7/site-packages/xarray/core/rolling.py", line 217, in reduce result = windows.reduce(func, dim=rolling_dim, **kwargs) File "/Users/mada0007/anaconda3/envs/modes/lib/python3.7/site-packages/xarray/core/dataarray.py", line 1636, in reduce var = self.variable.reduce(func, dim, axis, keep_attrs, **kwargs) File "/Users/mada0007/anaconda3/envs/modes/lib/python3.7/site-packages/xarray/core/variable.py", line 1371, in reduce data = func(input_data, axis=axis, **kwargs) File "/Users/mada0007/anaconda3/envs/modes/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py", line 770, in __call__ return self.freeze(*args, **kwds) File "/Users/mada0007/anaconda3/envs/modes/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py", line 767, in freeze return rv_frozen(self, *args, **kwds) File "/Users/mada0007/anaconda3/envs/modes/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py", line 435, in __init__ shapes, _, _ = self.dist._parse_args(*args, **kwds) TypeError: _parse_args() got an unexpected keyword argument 'axis'

Output of ``ommit: None

python: 3.7.2 (default, Dec 29 2018, 00:00:04) [Clang 4.0.1 (tags/RELEASE_401/final)] python-bits: 64 OS: Darwin OS-release: 18.2.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None LOCALE: en_AU.UTF-8 libhdf5: 1.10.4 libnetcdf: 4.6.2 xarray: 0.12.1 pandas: 0.24.2 numpy: 1.15.4 scipy: 1.2.1 netCDF4: 1.5.1.2 pydap: installed h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.0.3.4 nc_time_axis: None PseudonetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: 1.2.2 distributed: 1.28.1 matplotlib: 3.0.3 cartopy: 0.17.0 seaborn: 0.9.0 setuptools: 40.8.0 pip: 19.0.3 conda: None pytest: None IPython: None sphinx: None``

How can I please make this code work?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3184/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 issue

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [active_lock_reason] TEXT,
   [draft] INTEGER,
   [pull_request] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [state_reason] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
);
CREATE INDEX [idx_issues_repo]
    ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
    ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
    ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
    ON [issues] ([user]);
Powered by Datasette · Queries took 21.384ms · About: xarray-datasette