home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 218806328

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/818#issuecomment-218806328 https://api.github.com/repos/pydata/xarray/issues/818 218806328 MDEyOklzc3VlQ29tbWVudDIxODgwNjMyOA== 1217238 2016-05-12T16:10:04Z 2016-05-12T16:10:04Z MEMBER

Ah, of course -- forcing_data is a Dataset. You definitely want to pull out the DataArray first. Then .values if what you want.

On Wed, May 11, 2016 at 11:54 PM, naught101 notifications@github.com wrote:

forcing_data.isel(lat=lat, lon=lon).values() returns a ValuesView, which scikit-learn doesn't like. However, forcing_data.isel(lat=lat, lon=lon).to_array().T seems to work..

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/pydata/xarray/pull/818#issuecomment-218675077

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