Skip to content

Commit 0debdb6

Browse files
committed
ellipsis as default
1 parent 2345c7d commit 0debdb6

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

pandas/core/frame.py

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,50 +1044,50 @@ def _repr_html_(self) -> str | None:
10441044
@overload
10451045
def to_string(
10461046
self,
1047-
buf: None = None,
1048-
columns: Sequence[str] | None = None,
1049-
col_space: int | None = None,
1050-
header: bool | Sequence[str] = True,
1051-
index: bool = True,
1052-
na_rep: str = "NaN",
1053-
formatters: fmt.FormattersType | None = None,
1054-
float_format: fmt.FloatFormatType | None = None,
1055-
sparsify: bool | None = None,
1056-
index_names: bool = True,
1057-
justify: str | None = None,
1058-
max_rows: int | None = None,
1059-
min_rows: int | None = None,
1060-
max_cols: int | None = None,
1061-
show_dimensions: bool = False,
1062-
decimal: str = ".",
1063-
line_width: int | None = None,
1064-
max_colwidth: int | None = None,
1065-
encoding: str | None = None,
1047+
buf: None = ...,
1048+
columns: Sequence[str] | None = ...,
1049+
col_space: int | None = ...,
1050+
header: bool | Sequence[str] = ...,
1051+
index: bool = ...,
1052+
na_rep: str = ...,
1053+
formatters: fmt.FormattersType | None = ...,
1054+
float_format: fmt.FloatFormatType | None = ...,
1055+
sparsify: bool | None = ...,
1056+
index_names: bool = ...,
1057+
justify: str | None = ...,
1058+
max_rows: int | None = ...,
1059+
max_cols: int | None = ...,
1060+
show_dimensions: bool = ...,
1061+
decimal: str = ...,
1062+
line_width: int | None = ...,
1063+
min_rows: int | None = ...,
1064+
max_colwidth: int | None = ...,
1065+
encoding: str | None = ...,
10661066
) -> str:
10671067
...
10681068

10691069
@overload
10701070
def to_string(
10711071
self,
10721072
buf: FilePathOrBuffer[str],
1073-
columns: Sequence[str] | None = None,
1074-
col_space: int | None = None,
1075-
header: bool | Sequence[str] = True,
1076-
index: bool = True,
1077-
na_rep: str = "NaN",
1078-
formatters: fmt.FormattersType | None = None,
1079-
float_format: fmt.FloatFormatType | None = None,
1080-
sparsify: bool | None = None,
1081-
index_names: bool = True,
1082-
justify: str | None = None,
1083-
max_rows: int | None = None,
1084-
min_rows: int | None = None,
1085-
max_cols: int | None = None,
1086-
show_dimensions: bool = False,
1087-
decimal: str = ".",
1088-
line_width: int | None = None,
1089-
max_colwidth: int | None = None,
1090-
encoding: str | None = None,
1073+
columns: Sequence[str] | None = ...,
1074+
col_space: int | None = ...,
1075+
header: bool | Sequence[str] = ...,
1076+
index: bool = ...,
1077+
na_rep: str = ...,
1078+
formatters: fmt.FormattersType | None = ...,
1079+
float_format: fmt.FloatFormatType | None = ...,
1080+
sparsify: bool | None = ...,
1081+
index_names: bool = ...,
1082+
justify: str | None = ...,
1083+
max_rows: int | None = ...,
1084+
max_cols: int | None = ...,
1085+
show_dimensions: bool = ...,
1086+
decimal: str = ...,
1087+
line_width: int | None = ...,
1088+
min_rows: int | None = ...,
1089+
max_colwidth: int | None = ...,
1090+
encoding: str | None = ...,
10911091
) -> None:
10921092
...
10931093

0 commit comments

Comments
 (0)