따라 수행된다. 이를 통해 축약된 방법으로 어떤 질문에 대한 답을 구할 수 있다. 약간 복잡한
예제로
np
.
logical
_
and
를 사용해서 배열의 각 로우에 있는 값이 정렬된 상태인지 검사하는 것
을 생각해볼 수 있다.
In
[
118
]:
np
.
random
.
seed
(
12346
)
#
동일한
난수
발생을
위해
시드값
직접
지정
In
[
119
]:
arr
=
np
.
random
.
randn
(
5
,
5
)
In
[
120
]:
arr
[:: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.