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

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

pyarrow.large_string#

pyarrow.large_string()#

Create large UTF8 variable-length string type.

This data type may not be supported by all Arrow implementations. Unless you need to represent data larger than 2GB, you should prefer string().

Examples

Create an instance of large UTF8 variable-length binary type:

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

and use the type to create an array:

>>> pa.array(['foo', 'bar'] * 50, type=pa.large_string())
<pyarrow.lib.LargeStringArray object at ...>
[
  "foo",
  "bar",
  ...
  "foo",
  "bar"
]

Web Proxy Viewer  |  New URL  |  Original Page