home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

3 rows where user = 9200184 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 2

  • issue 2
  • pull 1

state 1

  • closed 3

repo 1

  • xarray 3
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
589257707 MDExOlB1bGxSZXF1ZXN0Mzk0ODU2MzI0 3904 Modify code in "Grouped arithmetic" Hossein-Madadi 9200184 closed 0     5 2020-03-27T16:37:10Z 2020-04-05T19:52:27Z 2020-04-05T19:52:27Z CONTRIBUTOR   0 pydata/xarray/pulls/3904

results.append(group - alt.sel(x=label)) must be changed to: results.append(group - alt.sel(letters=label))

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3904/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
589112325 MDU6SXNzdWU1ODkxMTIzMjU= 3902 AttributeError: 'DataArray' object has no attribute 'polyfit' Hossein-Madadi 9200184 closed 0     2 2020-03-27T12:51:34Z 2020-03-27T14:08:50Z 2020-03-27T13:59:05Z CONTRIBUTOR      

I used the below code in jupyterlab with xarray 0.15.1: x = xr.DataArray(np.arange(10), dims=['x'], name='x') a = xr.DataArray(3 + 4 * x, dims=['x'], coords={'x': x}) out = a.polyfit(dim='x', deg=1, full=True) out

But output ERROR:


AttributeError Traceback (most recent call last) <ipython-input-19-25ecb9e3a166> in <module> 1 x = xr.DataArray(np.arange(10), dims=['x'], name='x') 2 a = xr.DataArray(3 + 4 * x, dims=['x'], coords={'x': x}) ----> 3 out = a.polyfit(dim='x', deg=1, full=True) 4 out

C:\ProgramData\Anaconda3\lib\site-packages\xarray\core\common.py in getattr(self, name) 231 return source[name] 232 raise AttributeError( --> 233 "{!r} object has no attribute {!r}".format(type(self).name, name) 234 ) 235

AttributeError: 'DataArray' object has no attribute 'polyfit'

What is the meaning of this error?!

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3902/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
588928468 MDU6SXNzdWU1ODg5Mjg0Njg= 3901 AttributeError: 'DataArray' object has no attribute 'weighted' Hossein-Madadi 9200184 closed 0     4 2020-03-27T06:58:09Z 2020-03-27T10:17:13Z 2020-03-27T10:17:13Z CONTRIBUTOR      

I am learning xarray based on pydata's Doc. In Computation section and "Weighted array reductions" sub-section, when I run: weighted_prec = prec.weighted(weights) weighted_prec

Jupyter came back to me below ERROR:


AttributeError Traceback (most recent call last) <ipython-input-49-3893583b4b62> in <module> 1 import pandas as pd 2 import numpy as np ----> 3 data.weighted(weights).mean()

C:\ProgramData\Anaconda3\lib\site-packages\xarray\core\common.py in getattr(self, name) 231 return source[name] 232 raise AttributeError( --> 233 "{!r} object has no attribute {!r}".format(type(self).name, name) 234 ) 235

AttributeError: 'DataArray' object has no attribute 'weighted'

What is my problem?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3901/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 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 4958.924ms · About: xarray-datasette