Fast(er) standard deviation calculation (compared to the standard library) for Python [experimental]
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

391 B

fast-stdev

Fast(er) standard deviation calculation (compared to the standard library) for Python [experimental]

import fast_stdev
print(fast_stdev.stdev([1, 2, 4])) # Sample standard deviation
print(fast_stdev.pstdev([1, 2, 4])) # Population standard deviation

Run test.py to compare results and run times with the statistics.[p]stdev functions and NumPy's array.std.