Skip to content

Commit 9d8e704

Browse files
authored
DOC: add default encoding to read_csv (#50661)
1 parent 6da42f3 commit 9d8e704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers/readers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
`skiprows`. For example, if ``comment='#'``, parsing
318318
``#empty\\na,b,c\\n1,2,3`` with ``header=0`` will result in 'a,b,c' being
319319
treated as the header.
320-
encoding : str, optional
320+
encoding : str, optional, default "utf-8"
321321
Encoding to use for UTF when reading/writing (ex. 'utf-8'). `List of Python
322322
standard encodings
323323
<https://docs.python.org/3/library/codecs.html#standard-encodings>`_ .

0 commit comments

Comments
 (0)