랭귀지/pandas
pandas 값이 존재할때만 split
유키공
2024. 7. 8. 12:12
df['result'] = df['aaa'].str.split('_').where(df['aaa'].notnull(), other=None).str[2]