@@ -1068,11 +1068,11 @@ def to_string(
1068
1068
index_names : bool = True ,
1069
1069
justify : str | None = None ,
1070
1070
max_rows : int | None = None ,
1071
- min_rows : int | None = None ,
1072
1071
max_cols : int | None = None ,
1073
1072
show_dimensions : bool = False ,
1074
1073
decimal : str = "." ,
1075
1074
line_width : int | None = None ,
1075
+ min_rows : int | None = None ,
1076
1076
max_colwidth : int | None = None ,
1077
1077
encoding : str | None = None ,
1078
1078
) -> str | None :
@@ -1081,6 +1081,9 @@ def to_string(
1081
1081
%(shared_params)s
1082
1082
line_width : int, optional
1083
1083
Width to wrap a line in characters.
1084
+ min_rows : int, optional
1085
+ The number of rows to display in the console in a truncated repr
1086
+ (when number of rows is above `max_rows`).
1084
1087
max_colwidth : int, optional
1085
1088
Max width to truncate each column in characters. By default, no limit.
1086
1089
@@ -2839,15 +2842,14 @@ def to_html(
2839
2842
border : int
2840
2843
A ``border=border`` attribute is included in the opening
2841
2844
`<table>` tag. Default ``pd.options.display.html.border``.
2842
- encoding : str, default "utf-8"
2843
- Set character encoding.
2844
-
2845
- .. versionadded:: 1.0
2846
-
2847
2845
table_id : str, optional
2848
2846
A css id is included in the opening `<table>` tag if specified.
2849
2847
render_links : bool, default False
2850
2848
Convert URLs to HTML links.
2849
+ encoding : str, default "utf-8"
2850
+ Set character encoding.
2851
+
2852
+ .. versionadded:: 1.0
2851
2853
%(returns)s
2852
2854
See Also
2853
2855
--------
0 commit comments