Scipy

Python code posted by Pythonista
created at 21 Jan 01:52

Edit | Back
1
2
3
4
5
6
7
8
9
10
import numpy as np
from scipy.stats import zscore

A = np.array([1,2,3,4])

B = zscore(A)

C = np.zeros(B.size,dtype=object)

C[0] = [1,'123','abx']
159 Bytes in 2 ms with coderay