I don't have any opinion on whether this is a good idea or not, but in the
meantime, you can monkey-patch numpy:
np.concat = np.concatenate
And you get your compatibility. And, since modules are singletons, I
believe you only have to do it once and it will propagate across your
modules.
/David
This table lists all the array API spec names that are different in
NumPy. Most should be addable with a simple alias.
https://numpy.org/devdocs/reference/array_api.html#function-name-changes
Aaron Meurer
On Tue, May 10, 2022 at 12:47 AM Matti Picus wrote:
>
> The array API defines concat [0] so