@@ -453,38 +453,28 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
453
453
self ,
454
454
buf : FilePath | WriteBuffer [str ],
455
455
na_rep : _str = ...,
456
- formatters = ...,
457
- float_format = ...,
458
- sparsify : _bool | None = ...,
459
- index_names : _bool = ...,
460
- justify : _str | None = ...,
456
+ float_format : Callable [[float ], str ] = ...,
457
+ header : _bool = ...,
458
+ index : _bool = ...,
459
+ length : _bool = ...,
460
+ dtype : _bool = ...,
461
+ name : _bool = ...,
461
462
max_rows : int | None = ...,
462
463
min_rows : int | None = ...,
463
- max_cols : int | None = ...,
464
- show_dimensions : _bool = ...,
465
- decimal : _str = ...,
466
- line_width : int | None = ...,
467
- max_colwidth : int | None = ...,
468
- encoding : _str | None = ...,
469
464
) -> None : ...
470
465
@overload
471
466
def to_string (
472
467
self ,
473
468
buf : None = ...,
474
469
na_rep : _str = ...,
475
- formatters = ...,
476
- float_format = ...,
477
- sparsify : _bool | None = ...,
478
- index_names : _bool = ...,
479
- justify : _str | None = ...,
470
+ float_format : Callable [[float ], str ] = ...,
471
+ header : _bool = ...,
472
+ index : _bool = ...,
473
+ length : _bool = ...,
474
+ dtype : _bool = ...,
475
+ name : _bool = ...,
480
476
max_rows : int | None = ...,
481
477
min_rows : int | None = ...,
482
- max_cols : int | None = ...,
483
- show_dimensions : _bool = ...,
484
- decimal : _str = ...,
485
- line_width : int | None = ...,
486
- max_colwidth : int | None = ...,
487
- encoding : _str | None = ...,
488
478
) -> _str : ...
489
479
@overload
490
480
def to_json (
0 commit comments