Python으로 배우는 소프트웨어 공학 원칙
Adam Spannbauer
Machine Learning Engineer at Eastman



datacamp@server:~$ pip install numpy
Collecting numpy
100% |████████████████████████████████| 24.5MB 44kB/s
Installing collected packages: numpy
Successfully installed numpy-1.15.4

help(numpy.busday_count)
busday_count(begindates, enddates) `begindates`와 `enddates` 사이의 유효 일수를 셉니다. `enddates` 당일은 제외됩니다.Parameters ---------- begindates : 계산을 시작할 날짜들 enddates : 계산을 끝낼 날짜들(집계에서 제외)Returns ------- out : 시작일과 종료일 사이의 유효 일수Examples -------- >>> # 2011년의 평일 수 ... np.busday_count('2011', '2012') 260
import numpy as np
help(np)
제공 내용
1. 임의의 동질 항목 배열 객체
2. 배열에 대한 빠른 수학 연산
3. 선형대수, 푸리에 변환, 난수 생성
help(42)
class int(object)
| int(x=0) -> integer
| int(x, base=10) -> integer
|
| 숫자나 문자열을 정수로 변환합니다. 인자가 없으면 0을 반환합니다.
| x가 숫자면 x.__int__()를 반환합니다. 부동소수점은 0 방향으로 절삭합니다.
Python으로 배우는 소프트웨어 공학 원칙