datatable.options.display.head_nrows¶
head_nrows
head_nrows
This option controls the number of rows from the top of a frame
to be displayed when the frame’s output is truncated due to the total number of
rows exceeding display.max_nrows
value.
Parameters¶
return
int
Current head_nrows
value. Initially, this option is set to 15
.
new_head_nrows
int
New head_nrows
value, should be non-negative.
except
ValueError
The exception is raised when the new_head_nrows
is negative.
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.