-
Notifications
You must be signed in to change notification settings - Fork 42
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
chore: add experimental series.blob.display() function #1232
Conversation
import bigframes.bigquery as bbq | ||
|
||
return bbq.json_extract(details_json, "$.gcs_metadata") | ||
|
||
def display(self, n: int = 3): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we call it peek() to have some semantic resemblance to the dataframe/series peek()?
""" | ||
import bigframes.bigquery as bbq | ||
|
||
s = bigframes.series.Series(self._block).head(n) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
relying on peek
instead of head
would make it relevant in partial ordering mode as well
* 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 <[email protected]> Co-authored-by: Garrett Wu <[email protected]>
Verified test env screen/38WRuQPuvkYP8PN