home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 304107683

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/470#issuecomment-304107683 https://api.github.com/repos/pydata/xarray/issues/470 304107683 MDEyOklzc3VlQ29tbWVudDMwNDEwNzY4Mw== 4992424 2017-05-25T19:57:22Z 2017-05-25T19:57:22Z NONE

This certainly could be useful, but since this is essentially plotting a vector of data, why not just drop into pandas?

``` df = da.to_dataframe()

Could reset coordinates if you really wanted

df = df.reset_index()

df.plot.scatter('longitude', 'latitude', c=da.name) ```

Patching in this rough functionality into the plotting module should be really straightforward, maybe @jhamman has some tips?

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