Convert an object to an Arrow DataType
as_data_type(x, ...)
# S3 method for DataType
as_data_type(x, ...)
# S3 method for Field
as_data_type(x, ...)
# S3 method for Schema
as_data_type(x, ...)
An object to convert to an Arrow DataType
Passed to S3 methods.
A DataType object.
as_data_type(int32())
#> Int32
#> int32