home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 67343193

This data as json

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
67343193 MDU6SXNzdWU2NzM0MzE5Mw== 387 Accessing virtual_variables 10194086 closed 0     1 2015-04-09T11:41:08Z 2015-04-09T13:45:29Z 2015-04-09T13:45:29Z MEMBER      

Virtual variables such as time.date can not be accessed by dot notation.

``` In [81]: ts.time.date


AttributeError Traceback (most recent call last) <ipython-input-81-4206b510e310> in <module>() ----> 1 ts.time.date

/home/mathause/.local/lib/python2.7/site-packages/xray/core/common.pyc in getattr(self, name) 115 pass 116 raise AttributeError("%r object has no attribute %r" % --> 117 (type(self).name, name)) 118 119 def dir(self):

AttributeError: 'DataArray' object has no attribute 'date' ```

Compare

ts.__getattr__('time.date')

So maybe time.date is not a useful name. time_date? Or don't show these attributes to the user?

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

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.677ms · About: xarray-datasette