-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Signed-off-by: Alexey Prutskov <alexey.prutskov@intel.com>
- Loading branch information
Showing
4 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
pandas on Python | ||
================ | ||
|
||
This section describes usage related documents for the pandas on Python component of Modin. | ||
|
||
Modin uses pandas as the primary memory format of the underlying partitions and optimizes queries | ||
from the API layer in a specific way to this format. Since it is a default, you do not need to specify | ||
the pandas memory format, but we show how to explicitly set it below. | ||
|
||
One of the execution engines that Modin uses is Python. This engine is sequential and used for debugging. | ||
To enable the pandas on Python execution you should set the following environment variables: | ||
|
||
.. code-block:: bash | ||
export MODIN_ENGINE=python | ||
export MODIN_STORAGE_FORMAT=pandas | ||
or turn a debug mode on: | ||
|
||
.. code-block:: bash | ||
export MODIN_DEBUG=True | ||
export MODIN_STORAGE_FORMAT=pandas | ||
or do the same in source code: | ||
|
||
.. code-block:: python | ||
import modin.config as cfg | ||
cfg.Engine.put('python') | ||
cfg.StorageFormat.put('pandas') | ||
.. code-block:: python | ||
import modin.config as cfg | ||
cfg.IsDebug.put(True) | ||
cfg.StorageFormat.put('pandas') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters