home / github / pull_requests

Menu
  • Search all tables
  • GraphQL API

pull_requests: 294489918

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
294489918 MDExOlB1bGxSZXF1ZXN0Mjk0NDg5OTE4 3079 closed 0 Fix printing summaries of multiindex coords 2552981 Since merging #2293 summarize_variable displays the first and last few entries, so we have to pass all along. MWE: ```python import xarray as xr import numpy as np x = np.arange(0, 90, 0.5) y = np.arange(0, 90, 0.5) da = xr.DataArray(np.random.random((len(x), len(y))), [('x', x), ('y', y)]) da.stack(z=('x', 'y')) ``` gives on master: ``` <xarray.DataArray (z: 32400)> array([0.497724, 0.793955, 0.140193, ..., 0.05734 , 0.884105, 0.479093]) Coordinates: * z (z) MultiIndex - x (z) float64 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0 0.0 0.0 - y (z) float64 0.0 0.5 1.0 1.5 2.0 2.5 ... 12.5 13.0 13.5 14.0 14.5 ``` and on this branch ``` <xarray.DataArray (z: 32400)> array([0.497724, 0.793955, 0.140193, ..., 0.05734 , 0.884105, 0.479093]) Coordinates: * z (z) MultiIndex - x (z) float64 0.0 0.0 0.0 0.0 0.0 0.0 ... 89.5 89.5 89.5 89.5 89.5 89.5 - y (z) float64 0.0 0.5 1.0 1.5 2.0 2.5 ... 87.0 87.5 88.0 88.5 89.0 89.5 ``` - [ ] Closes #xxxx - [x] Tests added - [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API 2019-07-04T09:05:23Z 2019-07-11T07:48:56Z 2019-07-10T16:48:01Z 2019-07-10T16:48:01Z c768348ad29746acb4d13bc2c8ac54c2e9f410e4     0 0b0954dec6f40a467bfb176846cf60d96780de7c ff5c2ef7d264e46f2120599c2607ea4c3a8254de CONTRIBUTOR   13221727 https://github.com/pydata/xarray/pull/3079  

Links from other tables

  • 0 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 5.429ms