파이썬
[파이썬] OpenCV, Pandas를 이용하여 LATCH 정보 출력
def make_dataframe(txt_path): name = [] size = [] country = [] file_name = [] breeds = [] life = [] with open(txt_path, encoding='utf8') as txt: lines = txt.read().splitlines() for line in lines: split_line = line.split(' ') for i, j in enumerate(split_line): if i == 0: name.append(j) elif i == 1: size.append(j) elif i == 2: country.append(j) elif i == 3: file_name.append(j) elif i == 4: breeds...