File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 37
37
FilePathOrBuffer ,
38
38
FrameOrSeries ,
39
39
JSONSerializable ,
40
+ Label ,
40
41
Level ,
41
42
Renamer ,
42
43
)
@@ -3009,10 +3010,10 @@ def to_csv(
3009
3010
sep : str = "," ,
3010
3011
na_rep : str = "" ,
3011
3012
float_format : Optional [str ] = None ,
3012
- columns : Optional [Sequence [Optional [ Hashable ] ]] = None ,
3013
+ columns : Optional [Sequence [Label ]] = None ,
3013
3014
header : Union [bool_t , List [str ]] = True ,
3014
3015
index : bool_t = True ,
3015
- index_label : Optional [Union [bool_t , str , Sequence [Optional [ Hashable ] ]]] = None ,
3016
+ index_label : Optional [Union [bool_t , str , Sequence [Label ]]] = None ,
3016
3017
mode : str = "w" ,
3017
3018
encoding : Optional [str ] = None ,
3018
3019
compression : Optional [Union [str , Mapping [str , str ]]] = "infer" ,
You can’t perform that action at this time.
0 commit comments