array-api
array-api copied to clipboard
RFC document, tooling and other content related to the array API standard
This RFC proposes adding a special function extension to the array API specification. #### Overview Several array libraries have some support for "special" functions (e.g. `gamma`), that is, mathematical functions...
Is there advice around handling NaNs and how to translate Numpy code to using the Array API? In particular I have code like `np.nanmin(X, axis=0)` that I would like to...
I think (correct me if I am mistaken) that currently the only way to convert an array object back to a Python representation is to call `float`, `int`, `bool`, etc...
Some useful behavior that the standard array API makes possible is to create a "wrapper" structure that accept an array that follows the array API and returns a new array...
I see that you are using type hints internally to check the spec. However, I am not sure if there are plans to export type hint annotations for being used...
we've been having a discussion over in https://github.com/pydata/xarray/issues/8333 about adopting Array API and the possibility of offering an array-API compatible interface via `namedarray`, a new Xarray data structure that aims...
I'd like to revisit the discussion from https://github.com/data-apis/array-api/issues/177 about adding support for indexing with arrays of indices, because this is by far the largest missing gap in functionality required for...
The current `ellipsis = TypeVar('ellipsis')` doesn't behave well with typechecking. It's also unclear in the Markdown docs what `ellipsis` is supposed to be. It's kind of clear from the context,...
Proof of concept. Benefits: 1. Proper type hint of return type of `__array_namespace__`. 2. `arange` is now a statically understood signature, e.g. ``func: arange`` is meaningful. 3. can be easily...
This PR: - adds support for adding compatibility tables to the rendered Array API specification. - updates the build configurations for both CircleCI and GitHub actions to add compatibility tables...