Created
August 13, 2015 20:30
-
-
Save MachinesAreUs/1747003bab96350ad253 to your computer and use it in GitHub Desktop.
Calculate basic statistics from a numeric input stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires pythonpy | |
cat numbers | py --ji -l 'min(l), max(l), numpy.median(l), numpy.mean(l)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment