-
Notifications
You must be signed in to change notification settings - Fork 139
Issue while executing Task 9 #31
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
Open
yashcodesman
wants to merge
18
commits into
rahullrajesh-patch-1
Choose a base branch
from
master
base: rahullrajesh-patch-1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Update analyze-images.py
Updated code according to Vision Python Client library https://cloud.google.com/vision/docs/libraries#client-libraries-install-python Similar error: https://stackoverflow.com/questions/64226174/attributeerror-module-google-cloud-vision-has-no-attribute-types
Update Getting Started: Create and Manage Cloud Resources: Challenge
Update analyze-images.py in Integrate with Machine Learning APIs: Challenge Lab
…Insights from Data with BigQuery: Challenge Lab(Updated task 9)
Insights from Data with BigQuery: Challenge Lab
In task 9 instead of POWER(), it should be POW(). It was not excecuting with POWER().
Update Insights from Data with BigQuery: Challenge Lab(Updated task 9)
edited the code so that it is easy to understand by anyone ,when to use which command by introducing steps in it.
Update Build and Secure Networks in Google Cloud: Challenge Lab
Update Exploring the Public Cryptocurrency Datasets Available in BigQ…
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.
WITH
france_cases AS (
SELECT
date,
SUM(cumulative_confirmed) AS total_cases
FROM
bigquery-public-data.covid19_open_data.covid19_open_dataWHERE
country_name="France"
AND date IN ('2020-01-24',
'2020-05-10')
GROUP BY
date
ORDER BY
date)
, summary as (
SELECT
total_cases AS first_day_cases,
LEAD(total_cases) OVER(ORDER BY date) AS last_day_cases,
DATE_DIFF(LEAD(date) OVER(ORDER BY date),date, day) AS days_diff
FROM
france_cases
LIMIT 1
)
select first_day_cases, last_day_cases, days_diff, POW((last_day_cases/first_day_cases),(1/days_diff))-1 as cdgr
from summary