issue_comments
1 row where issue = 363299007 and user = 6628425 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- save "encoding" when using open_mfdataset · 1 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
424399958 | https://github.com/pydata/xarray/issues/2436#issuecomment-424399958 | https://api.github.com/repos/pydata/xarray/issues/2436 | MDEyOklzc3VlQ29tbWVudDQyNDM5OTk1OA== | spencerkclark 6628425 | 2018-09-25T15:54:28Z | 2018-09-25T15:54:28Z | MEMBER | @sbiner are you looking at the encoding attribute of the full Dataset or the time variable? The time variable should retain the calendar encoding (the Dataset will not). E.g.: ``` In [1]: import cftime In [2]: import numpy as np In [3]: import xarray as xr In [4]: units = 'days since 2000-02-25' In [5]: times = cftime.num2date(np.arange(7), units=units, calendar='365_day') In [6]: da = xr.DataArray(np.arange(7), coords=[times], dims=['time'], name='a') In [7]: da.to_netcdf('data-noleap.nc') In [8]: ds = xr.open_dataset('data-noleap.nc') In [9]: ds.encoding['calendar']KeyError Traceback (most recent call last) <ipython-input-38-677c245c7bb8> in <module>() ----> 1 default.encoding['calendar'] KeyError: 'calendar' In [10]: ds.time.encoding['calendar'] Out[10]: u'noleap' ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
save "encoding" when using open_mfdataset 363299007 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
user 1