-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix RangeIndex and other docstrings for missing period in summary #28123
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
Merged
Merged
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d7aabd0
added period to pandas.Categorical.dtype
a061b49
added period pandas.Categorical.dtype
976791f
added period pandas.merge_ordered
19c0a6f
added period pandas.bdate_range
4ea1ecf
added period pandas.period_range
58354ec
added period pandas.timedelta_range
b27f632
added period pandas.interval_range
4f15661
added period util.hash_pandas_object
2e19da4
added period pandas.Grouper
6d32431
added period pandas.Index.memory_usage
df97818
added period Index.fillna
e4315d9
added period pandas.Index.dropna
d010815
added period pandas.RangeIndex.start
ff4f73f
added period pandas.RangeIndex.stop
c752272
added period pandas.RangeIndex.step
fe82f00
Merge branch 'fix-docstrings' of https://github.com/bhuvanakundumani/…
6cb8630
fixed summary does not have period in pandas.Int64Index
e2e3bc5
added period at the end pandas.RangeIndex.start
6ee7be6
added period at the end pandas.RangeIndex.start
3ff5862
added period ad the end of pandas.RangeIndex.step
37f52ba
Merge branch 'fix-docstrings' of https://github.com/bhuvanakundumani/…
9b4cbbf
added period after the bracket pandas.merge_ordered
bca01f0
restored the spacein pandas.RangeIndex.start
1cab303
restored the space in pandas.RangeIndex.step
4bb9f56
restored the space in pandas.merge_ordered
9a5200d
reverted the change in pandas.Int64Index
5a765d9
added period to pandas.bdate_range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -236,15 +236,15 @@ def _format_with_header(self, header, na_rep="NaN", **kwargs): | |
@cache_readonly | ||
def start(self): | ||
""" | ||
The value of the `start` parameter (``0`` if this was not supplied) | ||
The value of the `start` parameter(``0`` if this was not supplied). | ||
bhuvanakundumani marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
# GH 25710 | ||
return self._range.start | ||
|
||
@property | ||
def _start(self): | ||
""" | ||
The value of the `start` parameter (``0`` if this was not supplied) | ||
The value of the `start` parameter(``0`` if this was not supplied). | ||
bhuvanakundumani marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.. deprecated:: 0.25.0 | ||
Use ``start`` instead. | ||
|
@@ -259,14 +259,14 @@ def _start(self): | |
@cache_readonly | ||
def stop(self): | ||
""" | ||
The value of the `stop` parameter | ||
The value of the `stop` parameter. | ||
""" | ||
return self._range.stop | ||
|
||
@property | ||
def _stop(self): | ||
""" | ||
The value of the `stop` parameter | ||
The value of the `stop` parameter. | ||
|
||
.. deprecated:: 0.25.0 | ||
Use ``stop`` instead. | ||
|
@@ -282,15 +282,15 @@ def _stop(self): | |
@cache_readonly | ||
def step(self): | ||
""" | ||
The value of the `step` parameter (``1`` if this was not supplied) | ||
The value of the `step` parameter(``1`` if this was not supplied). | ||
bhuvanakundumani marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
# GH 25710 | ||
return self._range.step | ||
|
||
@property | ||
def _step(self): | ||
""" | ||
The value of the `step` parameter (``1`` if this was not supplied) | ||
The value of the `step` parameter(``1`` if this was not supplied). | ||
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. same |
||
|
||
.. deprecated:: 0.25.0 | ||
Use ``step`` instead. | ||
|
This file contains hidden or 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 hidden or 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 |
---|---|---|
|
@@ -177,8 +177,8 @@ def merge_ordered( | |
): | ||
""" | ||
Perform merge with optional filling/interpolation designed for ordered | ||
data like time series data. Optionally perform group-wise merge (see | ||
examples) | ||
data like time series data. Optionally perform group-wise merge(see | ||
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. same |
||
examples). | ||
|
||
Parameters | ||
---------- | ||
|
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can you revert this one for now. It's a bit more complex, we'll take care of it in a separate PR.
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.
Done.