리스트
append()
, insert()
, remove()
, pop()
등)sort()
, reverse()
)튜플
count()
, index()
등의 기본 메서드 딕셔너리
keys()
, values()
, items()
등의 메서드 활용 조건문 (if
, elif
, else
)
==
, !=
, >
, <
, >=
, <=
) and
, or
, not
)를 활용한 다중 조건 result = "양의 짝수" if x > 0 and x % 2 == 0 else "음수 또는 0"
) 반복문 (for
, while
)
range()
활용 (range(start, stop, step)
)break
, continue
, pass
를 활용한 반복문 제어 기본 개념
def
를 사용한 함수 정의 및 호출 return
) 함수의 주요 개념
global
)와 지역변수 positional arguments
)와 키워드 인수(keyword arguments
) def greet(name="Guest", age=25)
) *args
, **kwargs
) 활용 실전 함수 활용
calculate_mean(numbers)
)find_max(numbers)
)char_frequency(string)
)표준화, 결측치 처리, 정규화
) matplotlib.pyplot
을 활용한 plot_histogram()
, plot_scatter()
) numpy
활용한 calculate_mean()
, calculate_std()
, calculate_correlation()
)