Skip to content

Commit 89a8295

Browse files
author
dilex42
authored
DOC: Partial fix SA04 errors in docstrings #28792 (#33117)
1 parent b5092d8 commit 89a8295

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

pandas/core/frame.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@ def style(self) -> "Styler":
839839
840840
See Also
841841
--------
842-
io.formats.style.Styler
842+
io.formats.style.Styler : Helps style a DataFrame or Series according to the
843+
data with HTML and CSS.
843844
"""
844845
from pandas.io.formats.style import Styler
845846

pandas/core/indexes/base.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,14 @@ class Index(IndexOpsMixin, PandasObject):
203203
--------
204204
RangeIndex : Index implementing a monotonic integer range.
205205
CategoricalIndex : Index of :class:`Categorical` s.
206-
MultiIndex : A multi-level, or hierarchical, Index.
206+
MultiIndex : A multi-level, or hierarchical Index.
207207
IntervalIndex : An Index of :class:`Interval` s.
208-
DatetimeIndex, TimedeltaIndex, PeriodIndex
209-
Int64Index, UInt64Index, Float64Index
208+
DatetimeIndex : Index of datetime64 data.
209+
TimedeltaIndex : Index of timedelta64 data.
210+
PeriodIndex : Index of Period data.
211+
Int64Index : A special case of :class:`Index` with purely integer labels.
212+
UInt64Index : A special case of :class:`Index` with purely unsigned integer labels.
213+
Float64Index : A special case of :class:`Index` with purely float labels.
210214
211215
Notes
212216
-----

pandas/core/indexes/datetimes.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def inferred_type(self) -> str:
720720

721721
def indexer_at_time(self, time, asof=False):
722722
"""
723-
Return index locations of index values at particular time of day
723+
Return index locations of values at particular time of day
724724
(e.g. 9:30AM).
725725
726726
Parameters
@@ -736,7 +736,9 @@ def indexer_at_time(self, time, asof=False):
736736
737737
See Also
738738
--------
739-
indexer_between_time, DataFrame.at_time
739+
indexer_between_time : Get index locations of values between particular
740+
times of day.
741+
DataFrame.at_time : Select values at particular time of day.
740742
"""
741743
if asof:
742744
raise NotImplementedError("'asof' argument is not supported")
@@ -777,7 +779,8 @@ def indexer_between_time(
777779
778780
See Also
779781
--------
780-
indexer_at_time, DataFrame.between_time
782+
indexer_at_time : Get index locations of values at particular time of day.
783+
DataFrame.between_time : Select values between particular times of day.
781784
"""
782785
start_time = tools.to_time(start_time)
783786
end_time = tools.to_time(end_time)

0 commit comments

Comments
 (0)