-
Notifications
You must be signed in to change notification settings - Fork 666
DOCS-#4188: Modify tables in Supported APIs section #4286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
c6e6cc5
978a731
f5edc17
8888a05
d868393
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "!autosummary/class.rst" %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we have a template for general functions, IO, etc.? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can leave default templates for functions since we list functions manually (we need to rewrite class template to insert |
||
|
||
{% block methods %} | ||
{% if methods %} | ||
.. rubric:: {{ _('Methods') }} | ||
|
||
.. autosummary:: | ||
:toctree: | ||
{% for item in all_methods %} | ||
{%- if not item.startswith('_') %} | ||
{{ name }}.{{ item }} | ||
{%- endif -%} | ||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block attributes %} | ||
{% if attributes %} | ||
.. rubric:: {{ _('Attributes') }} | ||
|
||
.. autosummary:: | ||
:toctree: | ||
{% for item in all_attributes %} | ||
{%- if not item.startswith('_') %} | ||
{{ name }}.{{ item }} | ||
{%- endif -%} | ||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,9 +273,13 @@ API | |
The API is the outer-most layer that faces users. The following classes contain Modin's implementation of the pandas API: | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
/flow/modin/pandas/base | ||
/flow/modin/pandas/dataframe | ||
/flow/modin/pandas/series | ||
/flow/modin/pandas/io | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about such modules as groupby, resample and others applicable to be put here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, probaly we can put these modules as pandas does, but i think it should be done in the separate PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, let's do this as part of a separate issue in order to not bloat this PR. |
||
/flow/modin/pandas/general | ||
|
||
Module/Class View | ||
----------------- | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ Public API | |
|
||
.. autoclass:: modin.pandas.base.BasePandasDataset | ||
:noindex: | ||
:members: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this removed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is done to avoid excessive duplication since all There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. We should probably add a note in the docstring of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, sure, note was added and issue #4512 created. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
General Functions | ||
~~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: modin.pandas | ||
|
||
Modin's general functions API is backed by a distributed object(s) providing an identical | ||
API to pandas. After the user calls some general function, this call is internally | ||
rewritten into a representation that can be processed in parallel by the partitions. These | ||
results can be e.g., reduced to single output, identical to the single threaded | ||
pandas method output. | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
|
||
concat | ||
crosstab | ||
get_dummies | ||
isna | ||
isnull | ||
lreshape | ||
melt | ||
merge | ||
merge_asof | ||
merge_ordered | ||
notna | ||
notnull | ||
pivot | ||
pivot_table | ||
to_datetime | ||
to_numeric | ||
unique | ||
value_counts | ||
wide_to_long |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Input/Output | ||
~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: modin.pandas | ||
|
||
Modin's I/O functions API is backed by a distributed object(s) providing an identical | ||
API to pandas. After the user calls some I/O function, this call is internally | ||
rewritten into a representation that can be processed in parallel by the partitions. | ||
Once I/O function call is finished, each partition will contain chunk of data, and then | ||
these partitions can be processed in parallel using Modin API. | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
|
||
json_normalize | ||
read_clipboard | ||
read_csv | ||
read_excel | ||
read_feather | ||
read_fwf | ||
read_gbq | ||
read_hdf | ||
read_html | ||
read_json | ||
read_orc | ||
read_parquet | ||
read_pickle | ||
read_sas | ||
read_spss | ||
read_sql | ||
read_sql_query | ||
read_sql_table | ||
read_stata | ||
read_table | ||
read_xml | ||
to_pickle |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is moved since we need
pandas
in thescripts/test
now (pandas
is installed during modin installation on the previous step).