pyarrow.utf8#
- pyarrow.utf8()#
Alias for string().
Examples
Create an instance of a string type:
>>>importpyarrowaspa>>>pa.utf8()DataType(string)
and use the string type to create an array:
>>>pa.array(['foo','bar','baz'],type=pa.utf8())<pyarrow.lib.StringArray object at ...>[ "foo", "bar", "baz"]
On this page

