datatable.Frame.nmodal1()¶
nmodal1
()
Calculate the modal frequency for a single-column Frame.
This function is a shortcut for:
DT.nmodal()[0, 0]
Parameters¶
return
intexcept
ValueErrorIf called on a Frame that has more or less than one column.
See Also¶
.nmodal()– similar to this method, but can be applied to a Frame with an arbitrary number of columns.
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.