Justus Magin
Justus Magin
the main problem with this is that `nan*` reductions are not part of the array API (see data-apis/array-api#621), and thus we can't rely on this as far as using the...
I am not certain, but I believe at some point we tried to allow `__array_function__` to overload `np.nan*` even if the array namespace is defined. I think that's what `cubed`...
I can reproduce this with just ```python import pandas as pd dates = pd.date_range("2400-01-15T12:00:00", freq="ME", periods=10, unit="s") dates.slice_locs("2400-01-01", "2400-06-01") ``` which means we inherit this behavior from `pandas.DatetimeIndex`. Good news...
I agree, we might need a dev environment that contains the full test env plus additional tools like `pytest-accept` or `ipython`/`ipdb`/`black` (and quite possibly another one that does include the...
looks like there was a similar attempt in #10400, in case it helps According to our policy, we can drop `python=3.11` from 2026-04-04 onwards – you can simulate this by...
you're right, the issue is at https://github.com/xarray-contrib/pint-xarray/blob/b44dfeb083690fa1d7f7b34a63cf39e00b6a1a15/pint_xarray/index.py#L55-L59 If we add `**options` to the signature and pass that to the call to `.sel` your example succeeds. Feel free to open a...
that's going to be quite a bit harder to fix. We basically have two choices: - drop the index entirely and have a unindexed coordinate, plus a method to explicitly...
looks like you can pass a [sequence of `dict`](https://github.com/stac-utils/pgstac/blob/c7d602a833d29e453309e04e1f47f947d43a34cb/src/pypgstac/python/pypgstac/load.py#L139-L144) to `load_items` and `load_collections`. So this could work already: ```python items = [item.to_dict() for item in item_collection] loader.load_items(items, insert_mode=Methods.upsert) ```
true, for `read_json` that could be `Iterable`: the code checks for `Iterable` and iterates over the variable, but never calls `iter()` on the variable. However, `Iterator` [inherits](https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes) from `Iterable`, and...