home / github / pull_requests

Menu
  • Search all tables
  • GraphQL API

pull_requests: 886017261

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
886017261 PR_kwDOAMm_X840z4zt 6400 closed 0 Speed-up multi-index html repr + add display_values_threshold option 4160723 This adds `PandasMultiIndexingAdapter._repr_html_` that can greatly speed-up the html repr of Xarray objects with multi-indexes. This optimized `_repr_html_` implementation is now used for formatting the array detailed view of all multi-index coordinates in the html repr, instead of converting the full index and each levels to numpy arrays before formatting them. ```python import xarray as xr ds = xr.tutorial.load_dataset("air_temperature") da = ds["air"].stack(z=[...]) da.shape # (3869000,) %timeit -n 1 -r 1 da._repr_html_() # 9.96 ms ! ``` <!-- Feel free to remove check-list items aren't relevant to your change --> - [x] Closes #5529 - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` 2022-03-22T12:57:37Z 2022-03-29T07:10:22Z 2022-03-29T07:05:32Z 2022-03-29T07:05:32Z d8fc34660f409d4c6a7ce9fe126d126e4f76c7fd     0 b8f732c61a86be5d1e8efbf3a906f9a5f69c31fd 728b648d5c7c3e22fe3704ba163012840408bf66 MEMBER   13221727 https://github.com/pydata/xarray/pull/6400  

Links from other tables

  • 1 row from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.658ms