coex-prj / preprocess.py
harheem's picture
Upload folder using huggingface_hub
d2941e6 verified
raw
history blame contribute delete
348 Bytes
import pandas as pd
df = pd.read_excel('2025 ์Šค๋งˆํŠธ๊ณต์žฅ โ€ข ์ž๋™ํ™”์‚ฐ์—…์ „_์˜จ๋ผ์ธ ์—๋””์…˜ ์ œํ’ˆ ๋“ฑ๋ก_20241105174651.xlsx')
df.columns
target_cols = ['์—…์ฒด๋ช…(๊ตญ๋ฌธ)', '์นดํ…Œ๊ณ ๋ฆฌ','ํšŒ์‚ฌ ์†Œ๊ฐœ(๊ตญ๋ฌธ)', '์ œํ’ˆ๋ช…(๊ตญ๋ฌธ)', '์ œํ’ˆ ์ •๋ณด(๊ตญ๋ฌธ)']
df[target_cols].fillna('')[1:].to_csv("sample_data.csv", index=False)