-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1320543 Merge modin docs into snowpark-python repo (#1461)
Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes SNOW-1320543 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness of my new code - [ ] I am adding new logging messages - [ ] I am adding a new telemetry message - [ ] I am adding new credentials - [ ] I am adding a new dependency 3. Please describe how your code solves the related issue. Adding the modin/Snowpark pandas docs under `docs/source/modin`. The autogenerated files should reside under `docs/source/modin/pandas-api`. Added a section for Snowpark pandas in `docs/source/index.rst`. --------- Co-authored-by: Naren Krishna <[email protected]>
- Loading branch information
1 parent
9ccac9e
commit 9e8e764
Showing
26 changed files
with
2,751 additions
and
22 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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,209 @@ | ||
============================= | ||
DataFrame | ||
============================= | ||
|
||
.. currentmodule:: snowflake.snowpark.modin.pandas | ||
.. rubric:: :doc:`All supported DataFrame APIs <supported/dataframe_supported>` | ||
|
||
.. rubric:: Constructor | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.index | ||
DataFrame.columns | ||
DataFrame.dtypes | ||
DataFrame.info | ||
DataFrame.select_dtypes | ||
DataFrame.values | ||
DataFrame.axes | ||
DataFrame.ndim | ||
DataFrame.size | ||
DataFrame.shape | ||
DataFrame.empty | ||
|
||
.. rubric:: Conversion | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.astype | ||
DataFrame.convert_dtypes | ||
DataFrame.copy | ||
|
||
.. rubric:: Indexing, iteration | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.head | ||
DataFrame.loc | ||
DataFrame.iloc | ||
DataFrame.insert | ||
DataFrame.__iter__ | ||
DataFrame.keys | ||
DataFrame.iterrows | ||
DataFrame.itertuples | ||
DataFrame.tail | ||
DataFrame.isin | ||
DataFrame.where | ||
DataFrame.mask | ||
|
||
.. rubric:: Binary operator functions | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.add | ||
DataFrame.sub | ||
DataFrame.mul | ||
DataFrame.div | ||
DataFrame.truediv | ||
DataFrame.floordiv | ||
DataFrame.mod | ||
DataFrame.pow | ||
DataFrame.radd | ||
DataFrame.rsub | ||
DataFrame.rmul | ||
DataFrame.rdiv | ||
DataFrame.rtruediv | ||
DataFrame.rfloordiv | ||
DataFrame.rmod | ||
DataFrame.rpow | ||
DataFrame.round | ||
DataFrame.lt | ||
DataFrame.gt | ||
DataFrame.le | ||
DataFrame.ge | ||
DataFrame.ne | ||
DataFrame.eq | ||
|
||
.. rubric:: Function application, GroupBy & window | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.apply | ||
DataFrame.applymap | ||
DataFrame.agg | ||
DataFrame.aggregate | ||
DataFrame.transform | ||
DataFrame.groupby | ||
DataFrame.rolling | ||
|
||
.. rubric:: Computations / descriptive stats | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.abs | ||
DataFrame.all | ||
DataFrame.any | ||
DataFrame.count | ||
DataFrame.cummax | ||
DataFrame.cummin | ||
DataFrame.cumsum | ||
DataFrame.describe | ||
DataFrame.diff | ||
DataFrame.max | ||
DataFrame.mean | ||
DataFrame.median | ||
DataFrame.min | ||
DataFrame.quantile | ||
DataFrame.rank | ||
DataFrame.round | ||
DataFrame.skew | ||
DataFrame.sum | ||
DataFrame.std | ||
DataFrame.var | ||
DataFrame.nunique | ||
DataFrame.value_counts | ||
|
||
|
||
.. rubric:: Reindexing / selection / label manipulation | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.add_prefix | ||
DataFrame.add_suffix | ||
DataFrame.drop | ||
DataFrame.drop_duplicates | ||
DataFrame.duplicated | ||
DataFrame.first | ||
DataFrame.get | ||
DataFrame.head | ||
DataFrame.idxmax | ||
DataFrame.idxmin | ||
DataFrame.last | ||
DataFrame.rename | ||
DataFrame.rename_axis | ||
DataFrame.reset_index | ||
DataFrame.sample | ||
DataFrame.set_axis | ||
DataFrame.set_index | ||
DataFrame.tail | ||
DataFrame.take | ||
|
||
.. rubric:: Missing data handling | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.dropna | ||
DataFrame.ffill | ||
DataFrame.fillna | ||
DataFrame.isna | ||
DataFrame.isnull | ||
DataFrame.notna | ||
DataFrame.notnull | ||
DataFrame.pad | ||
DataFrame.replace | ||
|
||
.. rubric:: Reshaping, sorting, transposing | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.pivot_table | ||
DataFrame.sort_values | ||
DataFrame.sort_index | ||
DataFrame.melt | ||
DataFrame.squeeze | ||
DataFrame.T | ||
DataFrame.transpose | ||
|
||
.. rubric:: Combining / comparing / joining / merging | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.join | ||
DataFrame.merge | ||
DataFrame.update | ||
|
||
.. rubric:: Time Series-related | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.shift | ||
DataFrame.first_valid_index | ||
DataFrame.last_valid_index | ||
DataFrame.resample | ||
|
||
.. rubric:: Serialization / IO / conversion | ||
|
||
.. autosummary:: | ||
:toctree: pandas_api/ | ||
|
||
DataFrame.to_pandas | ||
DataFrame.to_snowflake | ||
DataFrame.to_snowpark |
Oops, something went wrong.