forked from modin-project/modin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REFACTOR-modin-project#6012: move experimental dispatchers under `mod…
…in/experimental/...` folder (modin-project#6011) Co-authored-by: Iaroslav Igoshev <Poolliver868@mail.ru> Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
- Loading branch information
Showing
17 changed files
with
149 additions
and
41 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
25 changes: 25 additions & 0 deletions
25
...modin/experimental/core/execution/dask/implementations/pandas_on_dask/index.rst
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,25 @@ | ||
:orphan: | ||
|
||
ExperimentalPandasOnDask Execution | ||
================================== | ||
|
||
`ExperimentalPandasOnDask` execution keeps the underlying mechanisms of :doc:`PandasOnDask </flow/modin/core/execution/dask/implementations/pandas_on_dask/index>` | ||
execution architecturally unchanged and adds experimental features of ``Data Transformation``, ``Data Ingress`` and ``Data Egress`` (e.g. :py:func:`~modin.experimental.pandas.read_pickle_distributed`). | ||
|
||
PandasOnDask and ExperimentalPandasOnDask differences | ||
----------------------------------------------------- | ||
|
||
- another Factory ``PandasOnDaskFactory`` -> ``ExperimentalPandasOnDaskFactory`` | ||
- another IO class ``PandasOnDaskIO`` -> ``ExperimentalPandasOnDaskIO`` | ||
|
||
ExperimentalPandasOnDaskIO classes and modules | ||
---------------------------------------------- | ||
|
||
- :py:class:`~modin.experimental.core.execution.dask.implementations.pandas_on_dask.io.io.ExperimentalPandasOnDaskIO` | ||
- :py:class:`~modin.core.execution.dispatching.factories.factories.ExperimentalPandasOnDaskFactory` | ||
- :py:class:`~modin.experimental.core.io.text.csv_glob_dispatcher.ExperimentalCSVGlobDispatcher` | ||
- :py:class:`~modin.experimental.core.io.sql.sql_dispatcher.ExperimentalSQLDispatcher` | ||
- :py:class:`~modin.experimental.core.io.pickle.pickle_dispatcher.ExperimentalPickleDispatcher` | ||
- :py:class:`~modin.experimental.core.io.text.custom_text_dispatcher.ExperimentalCustomTextDispatcher` | ||
- :py:class:`~modin.core.storage_formats.pandas.parsers.PandasCSVGlobParser` | ||
- :doc:`ExperimentalPandasOnDask IO module </flow/modin/experimental/core/execution/dask/implementations/pandas_on_dask/io/index>` |
38 changes: 38 additions & 0 deletions
38
...in/experimental/core/execution/dask/implementations/pandas_on_dask/io/index.rst
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,38 @@ | ||
:orphan: | ||
|
||
IO module Description For ExperimentalPandasOnDask Execution | ||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
|
||
High-Level Module Overview | ||
'''''''''''''''''''''''''' | ||
|
||
This module houses experimental functionality with pandas storage format and Dask | ||
engine. This functionality is concentrated in the :py:class:`~modin.experimental.core.execution.dask.implementations.pandas_on_dask.io.io.ExperimentalPandasOnDaskIO` | ||
class, that contains methods, which extend typical pandas API to give user | ||
more flexibility with IO operations. | ||
|
||
Usage Guide | ||
''''''''''' | ||
|
||
In order to use the experimental features, just modify standard Modin import | ||
statement as follows: | ||
|
||
.. code-block:: python | ||
# import modin.pandas as pd | ||
import modin.experimental.pandas as pd | ||
Submodules Description | ||
'''''''''''''''''''''' | ||
|
||
The ``modin.experimental.core.execution.dask.implementations.pandas_on_dask`` module primarily houses utils and | ||
functions for the experimental IO class: | ||
|
||
* ``io.py`` - submodule containing IO class and parse functions, which are responsible | ||
for data processing on the workers. | ||
|
||
Public API | ||
'''''''''' | ||
|
||
.. autoclass:: modin.experimental.core.execution.dask.implementations.pandas_on_dask.io.io.ExperimentalPandasOnDaskIO | ||
:members: |
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
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,29 @@ | ||
:orphan: | ||
|
||
Experimental IO Module Description | ||
"""""""""""""""""""""""""""""""""" | ||
|
||
The module is used mostly for storing experimental utils and | ||
dispatcher classes for reading/writing files of different formats. | ||
|
||
Submodules Description | ||
'''''''''''''''''''''' | ||
|
||
* text - directory for storing all text file format dispatcher classes | ||
|
||
* format/feature specific dispatchers: ``csv_glob_dispatcher.py``, | ||
``custom_text_dispatcher.py``. | ||
|
||
* sql - directory for storing SQL dispatcher class | ||
|
||
* format/feature specific dispatchers: ``sql_dispatcher.py`` | ||
|
||
* pickle - directory for storing Pickle dispatcher class | ||
|
||
* format/feature specific dispatchers: ``pickle_dispatcher.py`` | ||
|
||
Public API | ||
'''''''''' | ||
|
||
.. automodule:: modin.experimental.core.io | ||
:members: |
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
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,14 @@ | ||
# Licensed to Modin Development Team under one or more contributor license agreements. | ||
# See the NOTICE file distributed with this work for additional information regarding | ||
# copyright ownership. The Modin Development Team licenses this file to you under the | ||
# Apache License, Version 2.0 (the "License"); you may not use this file except in | ||
# compliance with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under | ||
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF | ||
# ANY KIND, either express or implied. See the License for the specific language | ||
# governing permissions and limitations under the License. | ||
|
||
"""Experimental text format type IO functions implementations.""" |
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
File renamed without changes.