datatable.Frame.nmodal1()

Calculate the modal frequency for a single-column Frame.

This function is a shortcut for:

DT.nmodal()[0, 0]

Parameters

return
int
except
ValueError

If 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.