Skip to content

Commit 32b7f52

Browse files
SNOW-1791556: Use docstrings folder for Index methods and properties (#2581)
<!--- Please answer these questions before creating your pull request. Thanks! ---> 1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR. <!--- In this section, please add a Snowflake Jira issue number. Note that if a corresponding GitHub issue exists, you should still include the Snowflake Jira issue number. For example, for GitHub issue #1400, you should add "SNOW-1335071" here. ---> Fixes SNOW-1791556 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness of my new code - [ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing - [ ] I am adding new logging messages - [ ] I am adding a new telemetry message - [ ] I am adding new credentials - [ ] I am adding a new dependency - [ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes. - [ ] I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: [Thread-safe Developer Guidelines](https://docs.google.com/document/d/162d_i4zZ2AfcGRXojj0jByt8EUq-DrSHPPnTa4QvwbA/edit#bookmark=id.e82u4nekq80k) 3. Please describe how your code solves the related issue. Use docstrings folder for Index methods and properties. Docstrings for DatetimeIndex and TimedeltaIndex will be treated similarly in follow-up PRs.
1 parent 9f525c7 commit 32b7f52

File tree

3 files changed

+2244
-1939
lines changed

3 files changed

+2244
-1939
lines changed

src/snowflake/snowpark/modin/plugin/docstrings/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
DataFrameGroupBy,
1212
SeriesGroupBy,
1313
)
14+
from snowflake.snowpark.modin.plugin.docstrings.index import Index
1415
from snowflake.snowpark.modin.plugin.docstrings.io import * # noqa: F401,F403
1516
from snowflake.snowpark.modin.plugin.docstrings.resample import Resampler
1617
from snowflake.snowpark.modin.plugin.docstrings.series import Series
@@ -31,4 +32,5 @@
3132
"Series",
3233
"SeriesGroupBy",
3334
"StringMethods",
35+
"Index",
3436
]

0 commit comments

Comments
 (0)