ENH Extend zscore() to non-ndarray inputs