Let's Run Jinyeah

Numpy 모음 본문

Programming/Python

Numpy 모음

jinyeah 2022. 6. 17. 03:07

Statistic methods

np.sort

np.min() & np.max() & np.median()

np.percentile

더보기

calculate the ith percentile of the input numpy array along a specified axis

  • ith percentile is the value at which i percent of the data is below it
  • axis (default): input array is flattened

np.histogram

Find index or value

np.where

Change the shape

np.squeeze

더보기

remove 1-dimensional axis

np.tile

transpose & reshape

ravel & flatten

Generate an array

np.zeros & np.zeros_like

np.ones & np.ones_like

np.random

np.arange

Load & Save

np.load & np.save

 

 

 

'Programming > Python' 카테고리의 다른 글

[Window] Python 설정  (0) 2022.10.24
[Python] Read/Write csv file (csv, Pandas)  (0) 2022.05.25
[Python] Modify DICOM image and save as DICOM  (0) 2022.05.19
[Python] 가상환경 생성 및 활성화  (0) 2022.05.17
[Python] List method  (0) 2021.10.19
Comments