home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 740041249

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/4659#issuecomment-740041249 https://api.github.com/repos/pydata/xarray/issues/4659 740041249 MDEyOklzc3VlQ29tbWVudDc0MDA0MTI0OQ== 14808389 2020-12-07T16:50:03Z 2020-12-07T16:51:34Z MEMBER

there's a few things to fix in pycompat for this to work: first of all, import dask.dataframe before accessing dask.dataframe.core.DataFrame. We should also move the assignment to dask_dataframe_type to its own try / except block since it's possible to have dask.array but not dask.dataframe installed. And the reason for the ImportError you got is that we need a value for dask_dataframe_type if there was a ImportError. I'm thinking of something like this: ```python try: import dask.dataframe

dask_dataframe_type = (dask.dataframe.core.DataFrame,)

except ImportError: dask_dataframe_type = () ```

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