2025-05-12 실전프로젝트 2 - 학습일 별로 데이터 분류
최종 데이터 전처리# 불필요한 컬럼 드랍df.drop(['roles', 'incomplete_flag', 'nplay_video'], axis=1, inplace=True)# 인적사항 결측치 제거 df.dropna(subset=['LoE_DI', 'YoB', 'gender'], inplace=True)# ndays_act 조건에 맞는 행 삭제df = df[~((df['ndays_act'].notnull()) & (df['ndays_act'] >= 2) & (df['last_event_DI'].isnull()))]# last_event_DI를 start_time_DI로 대체df['last_event_DI'].fillna(df['start_time_DI'], inplace=True)# 나머지 결측치는 0으..