| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.uint16.html | [Back] [Original] |
Section Navigation
Create instance of unsigned uint16 type.
Examples
Create an instance of unsigned int16 type:
>>> import pyarrow as pa
>>> pa.uint16()
DataType(uint16)
>>> print(pa.uint16())
uint16
Create an array with unsigned int16 type:
>>> pa.array([0, 1, 2], type=pa.uint16())
<pyarrow.lib.UInt16Array object at ...>
[
0,
1,
2
]
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 |