Skip to content

Instantly share code, notes, and snippets.

@yuliji
Created January 10, 2018 06:46
Show Gist options
  • Save yuliji/ef8874a73be771a483c772d0ce61f03a to your computer and use it in GitHub Desktop.
Save yuliji/ef8874a73be771a483c772d0ce61f03a to your computer and use it in GitHub Desktop.
[mean std] Calculate mean std of array
import numpy
a = numpy.array([1,2,3,4,5])
a.mean()
a.std()
a.max()
a.min()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment