datatable.Frame.type

Added in version v1.0.0

The common dt.Type for all columns.

This property is well-defined only for frames where all columns have the same type.

Parameters

return
Type | None

For frames where all columns have the same type, this common type is returned. If a frame has 0 columns, None will be returned.

except
InvalidOperationError

This exception will be raised if the columns in the frame have different types.

See also

  • .types – list of types for all columns.