diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4e7f6329bb73b..b97175cc57fd3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1065,11 +1065,11 @@ def to_string( index_names: bool = True, justify: str | None = None, max_rows: int | None = None, - min_rows: int | None = None, max_cols: int | None = None, show_dimensions: bool = False, decimal: str = ".", line_width: int | None = None, + min_rows: int | None = None, max_colwidth: int | None = None, encoding: str | None = None, ) -> str | None: @@ -1078,6 +1078,9 @@ def to_string( %(shared_params)s line_width : int, optional Width to wrap a line in characters. + min_rows : int, optional + The number of rows to display in the console in a truncated repr + (when number of rows is above `max_rows`). max_colwidth : int, optional Max width to truncate each column in characters. By default, no limit. @@ -2838,15 +2841,14 @@ def to_html( border : int A ``border=border`` attribute is included in the opening `