Skip to content

Commit af39c20

Browse files
committed
Add docstrings
1 parent a83841f commit af39c20

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

third_party/bigframes_vendored/pandas/core/frame.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -5111,7 +5111,20 @@ def replace(
51115111

51125112
@property
51135113
def iloc(self):
5114-
"""Purely integer-location based indexing for selection by position."""
5114+
"""Purely integer-location based indexing for selection by position.
5115+
5116+
Returns:
5117+
ILocDataFrameIndexer: Purely integer-location Indexers.
5118+
"""
5119+
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)
5120+
5121+
@property
5122+
def loc(self):
5123+
"""Access a group of rows and columns by label(s) or a boolean array.
5124+
5125+
Returns:
5126+
ILocDataFrameIndexer: Indexers object.
5127+
"""
51155128
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)
51165129

51175130
@property

third_party/bigframes_vendored/pandas/core/series.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -3313,7 +3313,20 @@ def map(
33133313

33143314
@property
33153315
def iloc(self):
3316-
"""Purely integer-location based indexing for selection by position."""
3316+
"""Purely integer-location based indexing for selection by position.
3317+
3318+
Returns:
3319+
IlocSeriesIndexer: Purely integer-location Indexers.
3320+
"""
3321+
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)
3322+
3323+
@property
3324+
def loc(self):
3325+
"""Access a group of rows and columns by label(s) or a boolean array.
3326+
3327+
Returns:
3328+
LocSeriesIndexer: Indexers object.
3329+
"""
33173330
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)
33183331

33193332
@property

0 commit comments

Comments
 (0)