데이터분석
-
2024년 2월 강수량일상생활 2024. 2. 26. 14:36
2024년 2월은 비가 참 많이 왔습니다. 청주 지역은 중부 지방임에도 불구하고 눈은 거의 오지 않고 비만 계속 왔습니다. 2월 25일까지 얼마나 비가 내렸는지 확인해 볼까요? import pandas as pd # 강수량 데이터를 불러옵니다. data_path_precipitation = '/content/drive/MyDrive/데이터분석/cj_precipitation.csv' # pandas를 사용하여 데이터를 로드합니다. df_precipitation = pd.read_csv(data_path_precipitation, encoding='CP949') # 데이터가 잘 로드되었는지 확인합니다. df_precipitation.head(), df_precipitation.tail() 앞서 ..