Common - kamchur/note GitHub Wiki

ASCII

4byte
영문, 숫자, 특수문자

EUC-KR

8byte
영문, 숫자, 특수문자 + ν•œκΈ€

UTF-8

16byte
λͺ¨λ“  λ‚˜λΌμ˜ μ–Έμ–΄
'ν˜„μž¬λŠ” ν•˜λ“œλ””μŠ€ν¬'κ°€ 저렴해지고 μš©λŸ‰μ΄ ν¬κΈ°λ•Œλ¬Έμ— 'UTF-8'μ μš©μ„ ꢌμž₯

ipynb

i python + notebook μ•½μž

Jupyter Notebook

magic commend
%% : μ½”λ“œ 전체에 영ν–₯
% : μ½”λ“œ ν•œ μ€„μ—λ§Œ 적용

# λ™μž‘ μ‹œκ°„ 확인
%%time

# λ³€μˆ˜λͺ©λ‘ ν‘œμΆœ(ν˜„μž¬ λ…ΈνŠΈλΆμ—μ„œ μ‚¬μš©μ€‘μΈ)
%%whos

# λ³€μˆ˜λͺ©λ‘ μ΄ˆκΈ°ν™”
%reset

파일 λͺ©λ‘ 보기
%s

HTML μ½”λ“œ μ‹€ν–‰ 확인
%%html
  • plt.show() κ·Έλž˜ν”„μ— 슀크둀 μ—†μ• κΈ°
ν•΄λ‹Ή κ·Έλž˜ν”„ 마우슀 우클릭 > disable scrollbar 클릭

  • warning message 제거
import warnings
warnings.filterwarnings('ignore')

br/>

pyplot line option

character description
'-' solid line style
'--' dashed line style
'-.' dash-dot line style
':' dotted line style
'.' point marker
',' pixel marker
'o' circle marker
'v' triangle_down marker
'^' triangle_up marker
'<' triangle_left marker
'>' triangle_right marker
'1' tri_down marker
'2' tri_up marker
'3' tri_left marker
'4' tri_right marker
's' square marker
'p' pentagon marker
'*' star marker
'h' hexagon1 marker
'H' hexagon2 marker
'+' plus marker
'x' x marker
'D' diamond marker
'd' thin_diamond marker
' '
'_' hline marker
character color
β€˜b’ blue
β€˜g’ green
β€˜r’ red
β€˜c’ cyan
β€˜m’ magenta
β€˜y’ yellow
β€˜k’ black
β€˜w’ white
⚠️ **GitHub.com Fallback** ⚠️