| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.dictionary_encode.html | [Back] [Original] |
Section Navigation
Dictionary-encode array.
Return a dictionary-encoded version of the input array. This function does nothing if the input is already a dictionary array.
Argument to compute function.
str, default maskHow to encode nulls in the input. Accepted values are mask (null inputs emit a null in the indices array), encode (null inputs emit a non-null index pointing to a null value in the dictionary array).
pyarrow.compute.DictionaryEncodeOptions, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
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 |