본문 바로가기 메뉴 바로가기

Pretty IT

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Pretty IT

검색하기 폼
  • DataScientist (12)
    • Python (1)
    • Linux (2)
    • 비트코인&알트코인 (5)
    • 도커(Docker) (1)
  • 방명록

Python (1)
Pandas read_csv Error

Pandas read_csv suddenly started to get an Error~ import pandas as pddf = pd.read_csv("file name", encoding="cp949", index_col=0) 이틀 전까지 이렇게 잘 쓰다가 오늘 위에 있는 줄을 실행하니 다음과 같은 에러가 뜨더라구요...=> python2에서는 종종 이런 오류가 납니다. UnicodeDecodeError : 'ascii' codec can't decode byte in position 83: ordinal not in range(128)이럴때 해결방법 알려드릴게요~ 해결방법은 다음과 같습니다.Solution:import sysreload(sys)sys.setdefaultencoding('utf8')..

Python 2017. 1. 21. 12:25
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 코인시장동향
  • 이미지ID
  • 코인시장
  • 코인하락세
  • Bitcoin news
  • 코인전망
  • bithumb
  • hacking
  • Altcoin news
  • ok
  • South Korea Exchange Bithumb
  • AntShares
  • 알트코인
  • 코인시장전망
  • Bithumb hacking
  • Bitcoin news in Korea
  • Bitcoin in Korea
  • neo
  • 빌드
  • ANS
  • 비트코인가격하락
  • Bithumb Exchange
  • Korean favorit coins
  • ANS change to NEO
  • coin exchange
  • build
  • Bitcoin news in South Korea
  • 비트코인
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바