pandas on Unidist#

This section describes usage related documents for the pandas on Unidist component of Modin.

Modin uses pandas as a primary memory format of the underlying partitions and optimizes queries ingested from the API layer in a specific way to this format. Thus, there is no need to care of choosing it but you can explicitly specify it anyway as shown below.

One of the execution engines that Modin uses is Unidist. Currently, Modin only supports Unidist on MPI backend. To enable the pandas on Unidist execution using MPI backend you should set the following environment variables:

export MODIN_ENGINE=unidist

or turn it on in source code:

import modin.config as modin_cfg
import unidist.config as unidist_cfg


To run a python application you should use mpiexec -n 1 python <> command.

mpiexec -n 1 python

For more information on how to run a python application with unidist on MPI backend please refer to Unidist on MPI section of the unidist documentation.