home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 556094690

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/3552#issuecomment-556094690 https://api.github.com/repos/pydata/xarray/issues/3552 556094690 MDEyOklzc3VlQ29tbWVudDU1NjA5NDY5MA== 14808389 2019-11-20T16:48:33Z 2019-11-20T16:48:33Z MEMBER

I think drop was deprecated in favor of drop_sel and drop_vars (#3475). Using v0.14.1, this works: python ds = xr.Dataset({"a": ("b", [0, 1, 2]), "c": [-1, 2, 4]}, coords={"b": list("abc")}) ds.drop_vars({"a", "b"}) ds.drop_vars(["a", "b"]) ds.drop(["a", "b"])

Additionally, I think we have a documentation bug: I can't reach the documentation on drop.

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