Open courentin opened 3 years ago
This PR add the average function of numpy. I'm not 100% sure the signature is right though.
I think you can just copy the signature of np.mean? Returning a Union is not so nice, because then the type checker always has to deal with all the types in the union.
np.mean
Union
This PR add the average function of numpy. I'm not 100% sure the signature is right though.