반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- java bigdecimal
- COALESCE
- chartjs
- Jenkins
- Kafka
- VPN
- Flux
- aws
- kubeflow
- aws cicd
- IntelliJ
- node
- codebuild
- Python
- SQL
- bootstrap
- 도커
- redis
- Spring
- docker
- codedeploy
- codepipeline
- codedeploy error
- Airflow
- or some instances in your deployment group are experiencing problems.
- Spring Error
- chart.js
- JavaScript
- PostgreSQL
- AWS CI/CD 구축하기
Archives
- Today
- Total
Small Asteroid Blog
[python error] 'euc_kr' codec can't decode byte 0xbf in position 2: illegal multibyte sequence 본문
백엔드/Python
[python error] 'euc_kr' codec can't decode byte 0xbf in position 2: illegal multibyte sequence
작은소행성☄️ 2022. 2. 1. 14:23728x90
python 에서 csv 를 열 때 encoding 에서 생기는 오류로 utf-8 을 사용해준다.
'cp949' codec can't decode byte 0xbf in position 2: illegal multibyte sequence
'euc_kr' codec can't decode byte 0xbf in position 2: illegal multibyte sequence
df.to_csv("/home/test.csv", encoding='utf-8')
728x90
반응형
'백엔드 > Python' 카테고리의 다른 글
[python] 파이썬에서 날짜 포맷 변경하기 (0) | 2022.03.16 |
---|---|
[python] 배열 뒤에서부터 출력 [::] (0) | 2022.02.02 |
[python] dataframe 숫자만 추출, 숫자+문자 추출 (데이터 전처리) (0) | 2022.01.26 |
[python] 'in <string>' requires string as left operand, not float (0) | 2022.01.26 |
[python] dataframe 컬럼명 변경하기 (0) | 2022.01.26 |