Skip to content

Glossary: pandas Basics

encoding

Also written: UTF-8, utf-8-sig, latin-1, UnicodeDecodeError

How text characters are stored in a file. `read_csv` assumes UTF-8, and you may need `encoding="latin-1"` for old files or `"utf-8-sig"` so Excel shows accents like the é in Café.

Where the book teaches it

Related terms

read_csvto_csv