issue_comments: 303606683
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/pull/1421#issuecomment-303606683 | https://api.github.com/repos/pydata/xarray/issues/1421 | 303606683 | MDEyOklzc3VlQ29tbWVudDMwMzYwNjY4Mw== | 1217238 | 2017-05-24T03:18:16Z | 2017-05-24T03:18:16Z | MEMBER | How about something like the following: In def maybe_encode_pickle(var):
if var.dtype == object:
attrs = var.attrs.copy()
safe_setitem('_FileFormat', 'python-pickle')
protocol = var.encoding.pop('pickle_protocol', 2)
data = utils.encode_pickle(var.values, protocol=protocol)
var = Variable(var.dims, data, attrs, var.encoding)
return var
In the netCDF backends, add a check for variable with For decoding, reverse the process. Convert custom vlen dtypes to For bonus points, generalize handling of vlen types with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
230566456 |