datatable.Frame.nrows¶
nrows
=
Number of rows in the Frame.
Assigning to this property will change the height of the Frame, either by truncating if the new number of rows is smaller than the current, or filling with NAs if the new number of rows is greater.
Increasing the number of rows of a keyed Frame is not allowed.
Parameters¶
return
int
The number of rows can be either zero or a positive integer.
n
int
The new number of rows for the frame, this should be a non-negative integer.
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.