K Digital Training 5일차(Point : Docstrings 문서화하기)
* Warming UP (예제문제 풀어보기)
* 반복문(While 활용하기)
시간 공식문서 : https://docs.python.org/3/library/time.html
time — Time access and conversions
This module provides various time-related functions. For related functionality, see also the datetime and calendar modules. Although this module is always available, not all functions are available...
docs.python.org
*시간 반복하기
* 함수만들기
(공식문서 참고할 때 필수 확인사항 2가지)
+ 매개변수 입력 방법(or 자료형)
+ 변환값, 반환되는 자료형의 형태(int, str, array, list, DataFrame, etc)
참조 : https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html
matplotlib.pyplot.scatter — Matplotlib 3.9.0 documentation
Fundamentally, scatter works with 1D arrays; x, y, s, and c may be input as N-D arrays, but within scatter they will be flattened. The exception is c, which will be flattened only if its size matches the size of x and y.
matplotlib.org
* 문서화하기(Docstrings)
참조 : https://peps.python.org/pep-0257/
PEP 257 – Docstring Conventions | peps.python.org
This PEP documents the semantics and conventions associated with Python docstrings.
peps.python.org
https://betterprogramming.pub/3-different-docstring-formats-for-python-d27be81e0d68
3 Different Docstring Formats for Python
A quick walkaround of Google, NumPy, and Sphinx docstrings
betterprogramming.pub