Skip to content

Instantly share code, notes, and snippets.

@levlas
Created January 8, 2019 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levlas/a023d46a851f9b3f46fa0d2304b1f331 to your computer and use it in GitHub Desktop.
Save levlas/a023d46a851f9b3f46fa0d2304b1f331 to your computer and use it in GitHub Desktop.
import numpy as np
earnings = [
[
[500,505,490],
[810,450,678],
[234,897,430],
[560,1023,640]
],
[
[600,605,490],
[345,900,1000],
[780,730,710],
[670,540,324]
]
]
earnings = np.array(earnings)
gt500 = earnings[earnings > 500]
mmean = np.mean(earnings[:,0,:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment