pd.merge(left, right, how="left", on="key")on은 무엇을 기준으로 병합시킬 것인지 지정how는 어디에 병합시킬 것인지 지정. left로 정해졌으면 left의 key는 전부 보존됨right에 left의 key에 대응되는 데이터가 없으면 Nanhow="outer", how="inner" 등등도 있음. inner가 기본값data_result.set_index("구별", inplace=True)index로 지정한다는 것index를 재지정하는 경우가 있음unique한 데이터를 index로 잡자data_result.corr()%matplotlib inline 옵션을 사용2D 그래프를 담당
import matplotlib.pyplot as plt
# %matplotlib inline
get_ipython().run_line_magic("matplotlib", "inline")
numpy의 sin함수np.arrage(a, b, s)np.sin(value)