Convert an object to an Arrow DataType
Usage
as_schema(x, ...)
# S3 method for Schema
as_schema(x, ...)
# S3 method for StructType
as_schema(x, ...)
Arguments
- x
An object to convert to a
schema()
- ...
Passed to S3 methods.
Value
A Schema object.