datatable.Frame.mode1()

Find the mode for a single-column Frame.

This function is a shortcut for:

DT.mode()[0, 0]

Parameters

return
bool | int | float | str | object

The returned value corresponds to the stype of the column.

except
ValueError

If called on a Frame that has more or less than one column.

See Also

  • .mode() – similar to this method, but can be applied to a Frame with an arbitrary number of columns.