<Python>/[Numpy]
파이썬 기초 - numpy
9566
2021. 12. 3. 16:39
728x90
- np.random.rand(n) # 균일분포
- np.random.randn(n) # 정규분포
- np.linspace(0, 5, n) #0~5사이의 n개의 수
- np.minimum
- np.abs()
- np.sqrt
- np.square #제곱
- np.median(df['x1'])
- np.var
- np.min
- np.max
- np.std
- np.quntile(df['x1'], 0.25) # 0.5, 0.75
- np.mean # 결과를 정수로 → int(np.mean())
728x90