home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 234685251

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/issues/907#issuecomment-234685251 https://api.github.com/repos/pydata/xarray/issues/907 234685251 MDEyOklzc3VlQ29tbWVudDIzNDY4NTI1MQ== 6213168 2016-07-23T00:07:38Z 2016-07-23T00:07:38Z MEMBER

Crude workaround:

``` python

Convert object coords to string

for dim in array.dims: if array.coords[dim].dtype == numpy.dtype('O'): array.coords[dim] = array.coords[dim].values.tolist()

return array ```

The above works, but if you have more than a handful elements in the coord the performance hit will be severe.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  166441031
Powered by Datasette · Queries took 0.862ms · About: xarray-datasette