(ds)
| 271 | |
| 272 | |
| 273 | def _maybe_create_default_indexes(ds): |
| 274 | to_index = { |
| 275 | name: coord.variable |
| 276 | for name, coord in ds.coords.items() |
| 277 | if coord.dims == (name,) and name not in ds.xindexes |
| 278 | } |
| 279 | return ds.assign_coords(Coordinates(to_index)) |
| 280 | |
| 281 | |
| 282 | def _dataset_from_backend_dataset( |
no test coverage detected
searching dependent graphs…