#
# µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020)
# 12.18 ºüÁø µ¥ÀÌÅ͸¦ ±ú²ýÇÏ°Ô ¸Þ¿ö º¸ÀÚ, 327ÂÊ
#
import pandas as pd
weather = pd.read_csv('d:/data/weather.csv', index_col = 0, encoding='CP949')
weather.fillna(0, inplace = True) # °á¼Õ°ªÀ» 0À¸·Î ä¿ò, inplace¸¦ True·Î ¼³Á¤ÇØ ¿øº» µ¥ÀÌÅ͸¦ ¼öÁ¤
print(weather.loc['2012-02-11'])
############################################
weather.fillna( weather['Æò±Õdz¼Ó'].mean(), inplace = True)
print(weather.loc['2012-02-11'])