Skip to content

Instantly share code, notes, and snippets.

@fuwiak
Created January 28, 2020 15:40
Show Gist options
  • Save fuwiak/0325afbd7147ee9191e1e432d8b3f90f to your computer and use it in GitHub Desktop.
Save fuwiak/0325afbd7147ee9191e1e432d8b3f90f to your computer and use it in GitHub Desktop.
import numpy as np
def mean(data, x):
temp = data[::x]
return np.mean(temp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment