Skip to content
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

docs: update bigframes.pandas.Index docstrings #1144

Merged
merged 21 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions bigframes/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def name(self, value: blocks.Label):

@property
def names(self) -> typing.Sequence[blocks.Label]:
"""Returns the names of the Index."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For context for Huan, these are borrowed from pandas, so need to come from third_party.

return self._block._index_labels

@names.setter
Expand Down Expand Up @@ -175,7 +174,6 @@ def dtypes(self) -> pandas.Series:

@property
def size(self) -> int:
"""Returns the size of the Index."""
return self.shape[0]

@property
Expand All @@ -186,12 +184,6 @@ def empty(self) -> bool:
@property
@validations.requires_ordering()
def is_monotonic_increasing(self) -> bool:
"""
Return a boolean if the values are equal or increasing.

Returns:
bool
"""
return typing.cast(
bool,
self._block.is_monotonic_increasing(self._block.index_columns),
Expand Down
Loading