[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.string.html [Back]  [Original]

pyarrow.string — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.string#

pyarrow.string()#

Create UTF8 variable-length string type.

Examples

Create an instance of a string type:

>>> import pyarrow as pa
>>> pa.string()
DataType(string)

and use the string type to create an array:

>>> pa.array(['foo', 'bar', 'baz'], type=pa.string())
<pyarrow.lib.StringArray object at ...>
[
  "foo",
  "bar",
  "baz"
]

Web Proxy Viewer  |  New URL  |  Original Page