-
Notifications
You must be signed in to change notification settings - Fork 48
test: add sample code for use BigFrames developer guide #118
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
Conversation
Here is the summary of changes. You are about to add 4 region tags.
This comment is generated by snippet-bot.
|
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.
Since we want these to appear on https://cloud.google.com/bigquery/docs/samples these code samples need to be "standalone".
According to go/code-snippets-101 and https://cloud.google.com/bigquery/docs/samples
"A standalone code snippet demonstrates just one logical action and does not need to be shown with any other code or context to be complete."
"Copy-paste-runnable. A developer should be able to copy and paste the code into their own environment and run it with as few modifications as possible."
To encourace these samples to be standalone, it's a best practice to have 1 code sample per file.
e92a8dd
to
48a08dc
Compare
Co-authored-by: Tim Swast <[email protected]>
* docs: add runnable and testable I/O code samples * docs: add runnable and testable reading methods code snippets * fix: assign a df and show the first 2 rows * address comments
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:
Fixes #<issue_number_goes_here> 🦕