일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- list
- pytorch
- Linux
- evaluation
- PostgreSQL
- AI
- Windows
- Package
- Mac
- numpy
- Laravel
- Python
- TORCH
- LLM
- file
- Paper
- Converting
- Flask
- Container
- judge
- GitLab
- enV
- KAKAO
- docker
- 책갈피
- git
- format
- Database
- pandas
- DB
Archives
- Today
- Total
목록Write (1)
Daily Develope

읽기 CSV Lib. 사용 ### Data sample (target.csv 파일) # word count # hello 5 # bye 3 # good 4 import csv targetFile = open(f'{target_path}/target.csv', 'r') csvData = csv.reader(targetFile) header = next(csvData) # header 정보 분리 (word, count) print(header) for word, count in csvData: print(word, count) ### Output # word count # hello 5 # ... 쓰기 openpyxl & Workbook Lib. 사용 파일/시트 생성 import..
Develope/Python
2022. 9. 22. 13:49