home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 619003228

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/4000#issuecomment-619003228 https://api.github.com/repos/pydata/xarray/issues/4000 619003228 MDEyOklzc3VlQ29tbWVudDYxOTAwMzIyOA== 35968931 2020-04-24T13:17:46Z 2020-04-24T16:59:25Z MEMBER

If your operation uses dask then you can use the dask progress bar: ```python from dask.diagnostics import ProgressBar

with ProgressBar(): result = analyse(ds) result.plot() It looks like [########################################] | 100% Completed | 34.5 s ```

This works for any operation which calls dask.compute.

(Also by the way @cwerner because .to_dataframe() is a classmethod, you didn't have to initialise the Dataset in your example, you can just do dsout = xr.Dataset.from_dataframe(data))

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