Skip to content

Instantly share code, notes, and snippets.

@jrovegno
Created May 14, 2012 15:54
Show Gist options
  • Save jrovegno/2694699 to your computer and use it in GitHub Desktop.
Save jrovegno/2694699 to your computer and use it in GitHub Desktop.
standard deviation of the values
import numpy as np
f = open('numeros.txt', 'r')
numbers = f.readlines()
f.close()
i = 0
for num in numbers:
numbers[i] = float(num)
i += 1
print np.std(numbers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment