home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 261695720

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/1017#issuecomment-261695720 https://api.github.com/repos/pydata/xarray/issues/1017 261695720 MDEyOklzc3VlQ29tbWVudDI2MTY5NTcyMA== 5635139 2016-11-19T05:55:18Z 2016-11-19T05:55:18Z MEMBER

drop in pandas has a keyword argument errors='raise' (or errors='ignore') that lets it switch to work like discard. A separate discard method feels cleaner to me, but I can understand an argument for consistency with pandas. Thoughts?

In python sets have a remove and a discard - the first raises if not found, the second doesn't. Any thoughts on being consistent with that? Probably not worth the change cost tbh.

Overall no strong view; I'm probably a weak vote against adding discard without changing drop more thoroughly.

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