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 | NoneFor frames where all columns have the same type, this common
type is returned. If a frame has 0 columns, None will be
returned.
except
InvalidOperationErrorThis exception will be raised if the columns in the frame have different types.
See also¶
.types– list of types for all 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.