home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 219527492

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/847#issuecomment-219527492 https://api.github.com/repos/pydata/xarray/issues/847 219527492 MDEyOklzc3VlQ29tbWVudDIxOTUyNzQ5Mg== 5635139 2016-05-16T19:50:26Z 2016-05-16T19:50:26Z MEMBER

There are other ways to do this other than checking against a white-list of scalar types, but we can't take the obvious approach of converting everything into a numpy array and then checking the dimensionality because this can't be done safely for some types (e.g., dask.array).

What do you think about the reverse approach - checking for a list of known array types, and everything else becomes a scalar?

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