| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.large_string.html | [Back] [Original] |
Section Navigation
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"
]
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |