chore: add experimental series.blob.display() function#1232
Merged
Conversation
Genesis929
approved these changes
Dec 19, 2024
shobsi
reviewed
Dec 20, 2024
|
|
||
| return bbq.json_extract(details_json, "$.gcs_metadata") | ||
|
|
||
| def display(self, n: int = 3): |
Contributor
There was a problem hiding this comment.
can we call it peek() to have some semantic resemblance to the dataframe/series peek()?
shobsi
reviewed
Dec 20, 2024
| """ | ||
| import bigframes.bigquery as bbq | ||
|
|
||
| s = bigframes.series.Series(self._block).head(n) |
Contributor
There was a problem hiding this comment.
relying on peek instead of head would make it relevant in partial ordering mode as well
shuoweil
pushed a commit
that referenced
this pull request
Dec 20, 2024
shuoweil
added a commit
that referenced
this pull request
Dec 23, 2024
* docs: add linear model example * chore: add experimental series.blob.display() function (#1232) * add an extra setting to set display prgress bar to None * docs: add KMeans example (#1234) * docs: add KMeans example * fix test * skip non deterministic examples * docs: add examples for ml PCA and SimpleImputer (#1236) * docs: add examples for ml PCA and SimpleImputer * fix * fix * fix doctest bug * add extra lines to fix docs bug * fix docstring bug * remove an extra line --------- Co-authored-by: Shuowei Li <shuowei@google.com> Co-authored-by: Garrett Wu <6505921+GarrettWu@users.noreply.github.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Verified test env screen/38WRuQPuvkYP8PN