| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.nulls.html | [Back] [Original] |
Section Navigation
Create a strongly-typed Array instance with all elements null.
intArray length.
pyarrow.DataType, default NoneExplicit type for the array. By default use NullType.
MemoryPool, default NoneArrow MemoryPool to use for allocations. Uses the default memory pool if not passed.
ArrayExamples
>>> import pyarrow as pa
>>> pa.nulls(10)
<pyarrow.lib.NullArray object at ...>
10 nulls
>>> pa.nulls(3, pa.uint32())
<pyarrow.lib.UInt32Array object at ...>
[
null,
null,
null
]
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 |