1 2 3 4 5 6 7 8 9 10 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # 12.15 µ¥ÀÌÅ͸¦ ƯÁ¤ÇÑ °ª¿¡ ±â¹ÝÇÏ¿© ¹´Â ±â´É : ±×·ìÇÎ , 323ÂÊ # import pandas as pd weather = pd.read_csv('d:/data/weather.csv', encoding='CP949') weather['month'] = pd.DatetimeIndex(weather['ÀϽÃ']).month means = weather.groupby('month').mean() print(means) | cs |