home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 670769708

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/4314#issuecomment-670769708 https://api.github.com/repos/pydata/xarray/issues/4314 670769708 MDEyOklzc3VlQ29tbWVudDY3MDc2OTcwOA== 13837821 2020-08-07T22:32:10Z 2020-08-07T22:32:10Z CONTRIBUTOR

Maybe I am overcomplicating things but I came up with this solution:

Catch the error. If it is the unallowed casting kwarg error, and we are dealing with a sparse array, pop the casting kwarg and issue a RuntimeWarning that we are doing so. Otherwise, raise the original error since it might be something else non-sparse related.

Does that seem reasonable?

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