Skip to content

Commit c609257

Browse files
committed
DOC: update DataFrame.to_csv write modes (pandas-dev#51839)
Remove the 'b' and 't' modes from the description.
1 parent bff7ccd commit c609257

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/core/generic.py

-3
Original file line numberDiff line numberDiff line change
@@ -3643,9 +3643,6 @@ def to_csv(
36433643
- 'x', open for exclusive creation, failing if the file already exists.
36443644
- 'a', open for writing, appending to the end of file if it exists.
36453645
3646-
Including 'b' or 't' in the mode parameter will inform Pandas whether
3647-
`path_or_buf` requires string or binary data. However, in most cases,
3648-
this should not be necessary.
36493646
encoding : str, optional
36503647
A string representing the encoding to use in the output file,
36513648
defaults to 'utf-8'. `encoding` is not supported if `path_or_buf`

0 commit comments

Comments
 (0)