pyarrow.compute.dictionary_encode

pyarrow.compute.dictionary_encode(arg, *, memory_pool=None)

Call compute function ‘dictionary_encode’ with the given argument.

Parameters
  • arg (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.