Fast(er) standard deviation calculation (compared to the standard library) for Python [experimental]
Go to file
2022-07-22 18:12:59 -07:00
.gitignore Initial commit 2022-07-22 17:40:42 -07:00
fast_stdev.py Add code 2022-07-22 18:12:59 -07:00
LICENSE Initial commit 2022-07-22 17:40:42 -07:00
README.md Add code 2022-07-22 18:12:59 -07:00
test.py Add code 2022-07-22 18:12:59 -07:00

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.