@@ -83,8 +83,10 @@ from pandas._typing import (
83
83
CalculationMethod ,
84
84
ColspaceArgType ,
85
85
CompressionOptions ,
86
+ CSVQuoting ,
86
87
Dtype ,
87
88
FilePath ,
89
+ FileWriteMode ,
88
90
FillnaOptions ,
89
91
FormattersType ,
90
92
Frequency ,
@@ -2228,29 +2230,29 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
2228
2230
def take (self , indices : list , axis : Axis = ..., ** kwargs : Any ) -> Self : ...
2229
2231
def to_clipboard (
2230
2232
self ,
2231
- excel : _bool = ... ,
2232
- sep : _str | None = ... ,
2233
- * ,
2234
- path_or_buf : FilePath | WriteBuffer [bytes ] | WriteBuffer [str ],
2235
- na_rep : _str = ... ,
2236
- float_format : _str | Callable [[object ], _str ] | None = ... ,
2237
- columns : list [HashableT1 ] | None = ... ,
2238
- header : _bool | list [_str ] = ... ,
2239
- index : _bool = ... ,
2240
- index_label : Literal [False ] | _str | list [HashableT2 ] | None = ... ,
2241
- mode : FileWriteMode = ... ,
2242
- encoding : _str | None = ... ,
2243
- compression : CompressionOptions = ... ,
2233
+ excel : _bool = True ,
2234
+ sep : _str | None = None ,
2235
+ * ,
2236
+ path_or_buf : FilePath | WriteBuffer [bytes ] | WriteBuffer [str ] | None = None ,
2237
+ na_rep : _str = "" ,
2238
+ float_format : _str | Callable [[object ], _str ] | None = None ,
2239
+ columns : list [HashableT1 ] | None = None ,
2240
+ header : _bool | list [_str ] = True ,
2241
+ index : _bool = True ,
2242
+ index_label : Literal [False ] | _str | list [HashableT2 ] | None = None ,
2243
+ mode : FileWriteMode = "w" ,
2244
+ encoding : _str | None = None ,
2245
+ compression : CompressionOptions = "infer" ,
2244
2246
quoting : CSVQuoting = ...,
2245
- quotechar : _str = ... ,
2246
- lineterminator : _str | None = ... ,
2247
- chunksize : int | None = ... ,
2248
- date_format : _str | None = ... ,
2249
- doublequote : _bool = ... ,
2250
- escapechar : _str | None = ... ,
2251
- decimal : _str = ... ,
2252
- errors : _str = ... ,
2253
- storage_options : StorageOptions = ... ,
2247
+ quotechar : _str = '"' ,
2248
+ lineterminator : _str | None = None ,
2249
+ chunksize : int | None = None ,
2250
+ date_format : _str | None = None ,
2251
+ doublequote : _bool = True ,
2252
+ escapechar : _str | None = None ,
2253
+ decimal : _str = "." ,
2254
+ errors : _str = "strict" ,
2255
+ storage_options : StorageOptions = None ,
2254
2256
) -> None : ...
2255
2257
@overload
2256
2258
def to_json (
0 commit comments