This repository was archived by the owner on Apr 1, 2026. It is now read-only.
docs: update bigframes.pandas.Index docstrings#1144
Merged
Conversation
f3a0332 to
1871ed2
Compare
…-type-annotation-index
…-type-annotation-index
…-type-annotation-index
bigframes.pandas.Index docstringsbigframes.pandas.Index docstrings
tswast
reviewed
Nov 22, 2024
|
|
||
| @property | ||
| def names(self) -> typing.Sequence[blocks.Label]: | ||
| """Returns the names of the Index.""" |
Contributor
There was a problem hiding this comment.
For context for Huan, these are borrowed from pandas, so need to come from third_party.
tswast
approved these changes
Nov 22, 2024
Contributor
tswast
left a comment
There was a problem hiding this comment.
Love it! The examples make me happy.
Contributor
|
Please make sure |
Genesis929
reviewed
Nov 22, 2024
Contributor
|
We're still getting quite a few doctest failures. Please fix. |
tswast
reviewed
Nov 25, 2024
Comment on lines
+446
to
+447
| >>> bpd.Index([1, 2, 3]).all() | ||
| True |
Contributor
There was a problem hiding this comment.
Unfortunately, pandas gives a numpy object in some versions. It should be interchangeable with a bool, but it has a different repr. Try this (here and in other failing tests):
Suggested change
| >>> bpd.Index([1, 2, 3]).all() | |
| True | |
| >>> bool(bpd.Index([1, 2, 3]).all()) | |
| True |
Contributor
Author
There was a problem hiding this comment.
Thanks for the suggestion, I'll give it a try.
…-type-annotation-index
…-type-annotation-index
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
values: screen/4ViVk2h34LfgD9rshape: screen/3Ld4EGsxTfmZnVhnlevels: screen/6TYw5qPWkzpKFq7is_unique: screen/7grdQKsxVLv6mGshas_duplicates: screen/7CQgVfVsiNtkqXwdtype: screen/ 75HzCFFRdPbJVCndtypes: screen/6i8zVhpfksEdzVRT: screen/9ZuShN6bfoWvKxncopy: screen/8pMYrfDSaLqcdQMastype: screen/8AsiSd6DvjszHkQ, screen/get_level_values: screen/to_series: screen/, screen/isin: screen/3G6UfR5fTocREdn, screen/86tTDdCKnSWdVZxall: screen/8w3maL5nEkp9Jko, screen/AT9SB55jdUkwViCany: screen/6zbST5graLENBcXmin: screen/c38rufXA7pdZq22max: screen/8RpYJJTBCcgZZ3xargmin: screen/7CqEuNjhjibmXJE, screen/5D67hEv7okLXhVGargmax: screen/4ojQtUpLqEW2qDE, screen/6i63mdEUgFaVArHnunique: screen/ 4zAMoEvxFGLQ2vTsort_values: screen/5nsxukvUq5raPHe, screen/AcviuSvz4m5fuTsvalue_counts: screen/AMh3QtVxLVBhPDT, screen/SKjbGAzjEZhAswS, screen,/ByGcJANuAiJkZjKfillna: screen/4f7nZJRqBZ3Vyb2rename: screen/4zvSA3knkh6stpBdrop: screen/7dTVqr9DAEtBUsQdropna: screen/5cxdPbQjSq8WHiydrop_duplicates: screen/BkKbQXgvZRPfEbN, screen/3ggJqu9RQj6BqFYFixes #296390934 🦕