powered by
Convert an object to an Arrow DataType
as_schema(x, ...)# S3 method for Schema as_schema(x, ...)# S3 method for StructType as_schema(x, ...)
# S3 method for Schema as_schema(x, ...)
# S3 method for StructType as_schema(x, ...)
An object to convert to a schema()
schema()
Passed to S3 methods.
A Schema object.
# NOT RUN { as_schema(schema(col1 = int32())) # }
Run the code above in your browser using DataLab