Python docstring
What is docstring?
class, module, function, method μ μ μ μ¬μ©λλ python documentation string
python κ°μ²΄μ _doc_ attribute λλ help() functionμ ν΅ν΄ μ κ·Όν μ μλ€.
κ°λ°λ κΈ°λ₯μ μ¬μ©νκ±°λ κ°λ°μ κΈ°μ¬νλ λ€λ₯Έ κ°λ°μλ€μ μ΄ν΄λ₯Ό λκΈ° μν΄ μμ±λλ μ£Όμ
class, module, function, methodμ 첫 μ€μ μμΉνλ€.
μμ: pandas

Formats of docstring
One line docstring
Multi line docstring
roles
param: νμμ μΌλ‘ λͺ μν΄μΌ νλ€.
type: sphinx data type for param
return: returned object
rtype: type of object retured
Google style
Numpy Style
Last updated