don't we have a `zscore` function in python? that might be more concise ...