1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 12-3 ¿ï¸ªµµ´Â ¸î ¿ù¿¡ ¹Ù¶÷ÀÌ °¡Àå °ÇÒ±î? - groupby() È°¿ë, 324ÂÊ # import pandas as pd import matplotlib.pyplot as plt import datetime as dt weather = pd.read_csv('d:/data/weather.csv', encoding='CP949') weather['month'] = pd.DatetimeIndex(weather['ÀϽÃ']).month means = weather.groupby('month').mean() means['Æò±Õdz¼Ó'].plot() plt.show() | cs |