NumPy 중앙값 median()

1 개요[ | ]

NumPy 중앙값 구하기
NumPy median()
import numpy as np
arr = np.array([1,2,3,1])
print( np.median(arr) )
import numpy as np
arr = np.array([[1,2,3],[5,6,1]])
print( np.median(arr, axis=-1) )

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}