software_development:python_pandas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software_development:python_pandas [2023/05/16 06:01] – [encoding_errors - 'ignore'] prgramsoftware_development:python_pandas [2025/07/07 14:12] (current) – external edit 127.0.0.1
Line 127: Line 127:
 Encoding 제대로 했는데도 안되면.. Encoding 제대로 했는데도 안되면..
 공공데이터가 이런 경우가 많음. 공공데이터가 이런 경우가 많음.
 +
 +Error tokenizing data. C error: EOF inside string starting at row 0 | 판다스 에러
 +https://con2joa.tistory.com/m/60
 +quoting=csv.QUOTE_NONE 파라미터
  
 <code python> <code python>
Line 136: Line 140:
  
 data = pd.read_csv( file, encoding='cp949', encoding_errors='ignore') data = pd.read_csv( file, encoding='cp949', encoding_errors='ignore')
 +# on_bad_lines='skip'
 # error_bad_lines=False # error_bad_lines=False
 </code> </code>
  • software_development/python_pandas.1684216903.txt.gz
  • Last modified: 2025/07/07 14:13
  • (external edit)