Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Add average function of numpy #187

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

courentin
Copy link

This PR add the average function of numpy.
I'm not 100% sure the signature is right though.

@tmke8
Copy link
Member

tmke8 commented Oct 29, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants