home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 391904059

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/2180#issuecomment-391904059 https://api.github.com/repos/pydata/xarray/issues/2180 391904059 MDEyOklzc3VlQ29tbWVudDM5MTkwNDA1OQ== 6213168 2018-05-25T00:15:55Z 2018-05-25T00:15:55Z MEMBER

Then I'm not sure I understand the change: fridge = xarray.Dataset( data_vars={ 'fruits': ('fruit', [10]), }, coords={ 'fruit': ('fruit', ['apples']), 'quality': ('fruit', ['Red Velvet']), }) shopping = xarray.Dataset( data_vars={ 'fruits': ('fruit', [20]), }, coords={ 'fruit': ('fruit', ['oranges']), 'quality': ('fruit', ['Tangerine']), }) fridge.update(shopping) # throw away old contents and fill with new stuff In both 0.10.3 and 0.10.4: <xarray.Dataset> Dimensions: (fruit: 1) Coordinates: * fruit (fruit) object 'apples' quality (fruit) object nan Data variables: fruits (fruit) float64 nan The above doesn't make any sense to me. I wanted to replace the fruits variable with brand new content, and instead I lost both the old and the new?!?

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