@tirthasheshpatel Shall I also submit a PRs that you can review, about one per week, or is that too much?
I'll wait for SciPy's CI to get fixed before opening this one on the main repo.
I think it's really as simple as this. The one thing I noticed is that currently, for Nd input, ansari returns a scalar result. However, the result seems to be garbage - it's different from axis=None / raveling the arrays before passing them to the function. So I think it's safe to let axis=0 be the default since there's no useful behavior to maintain.
@tirthasheshpatel Shall I also submit a PRs that you can review, about one per week, or is that too much?
I'll wait for SciPy's CI to get fixed before opening this one on the main repo.
I think it's really as simple as this. The one thing I noticed is that currently, for Nd input,
ansari
returns a scalar result. However, the result seems to be garbage - it's different fromaxis=None
/ raveling the arrays before passing them to the function. So I think it's safe to letaxis=0
be the default since there's no useful behavior to maintain.