Deploy a BigQuery ML Customer Churn Classifier to Vertex AI for Online Predictions avis
18031 avis
Good Morning! I'm having problems in the GSP944 lab when I open the "lab_exercise.ipynb" file and start running the codes. In the code cell that imports the "google.cloud" libraries. In the line "from google.cloud import bigquery" the error is (AttributeError: type object 'StandardSqlDataType' has no attribute 'STRING') and in the line "from google.cloud import aiplatform as vertexai" the error is (ImportError: cannot import name 'aiplatform' from 'google.cloud' (unknown location)). So I can't run the rest of the code. Awaiting responses. Thanks!
Mauro M. · Examiné il y a presque 3 ans
Renato A. · Examiné il y a presque 3 ans
Mauro M. · Examiné il y a presque 3 ans
Nadja Janiele G. · Examiné il y a presque 3 ans
Eder T. · Examiné il y a presque 3 ans
Nadja Janiele G. · Examiné il y a presque 3 ans
lab lixo
João A. · Examiné il y a presque 3 ans
Renan N. · Examiné il y a presque 3 ans
lab lixo
João A. · Examiné il y a presque 3 ans
Cell: from google.cloud import bigquery from google.cloud import aiplatform as vertexai import numpy as np import pandas as pd Error: --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /tmp/ipykernel_4802/4174226365.py in <module> ----> 1 from google.cloud import bigquery 2 from google.cloud import aiplatform as vertexai 3 import numpy as np 4 import pandas as pd /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/__init__.py in <module> 33 __version__ = get_distribution("google-cloud-bigquery").version 34 ---> 35 from google.cloud.bigquery.client import Client 36 from google.cloud.bigquery.dataset import AccessEntry 37 from google.cloud.bigquery.dataset import Dataset /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/client.py in <module> 59 from google.cloud.bigquery._helpers import _del_sub_prop 60 from google.cloud.bigquery._http import Connection ---> 61 from google.cloud.bigquery import _pandas_helpers 62 from google.cloud.bigquery.dataset import Dataset 63 from google.cloud.bigquery.dataset import DatasetListItem /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/_pandas_helpers.py in <module> 39 pyarrow = None 40 ---> 41 from google.cloud.bigquery import schema 42 43 /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/schema.py in <module> 26 # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types 27 LEGACY_TO_STANDARD_TYPES = { ---> 28 "STRING": types.StandardSqlDataType.STRING, 29 "BYTES": types.StandardSqlDataType.BYTES, 30 "INTEGER": types.StandardSqlDataType.INT64, AttributeError: type object 'StandardSqlDataType' has no attribute 'STRING'
Brian N. · Examiné il y a presque 3 ans
Rita d. · Examiné il y a presque 3 ans
This lab has problems and I want my credits back
Leomara O. · Examiné il y a presque 3 ans
Enzo D. · Examiné il y a presque 3 ans
Leomara O. · Examiné il y a presque 3 ans
Caroline C. · Examiné il y a presque 3 ans
Doesnt load bigquery in the notebook
Rodrigo F. · Examiné il y a presque 3 ans
Andreas Y. · Examiné il y a presque 3 ans
error on import lib on notebook
Bainy K. · Examiné il y a presque 3 ans
E S. · Examiné il y a presque 3 ans
eh, bad way of presenting. too much code
Mateusz K. · Examiné il y a presque 3 ans
Iza D. · Examiné il y a presque 3 ans
Clovis M. · Examiné il y a presque 3 ans
MUDASSAR S. · Examiné il y a presque 3 ans
Hanna F. · Examiné il y a presque 3 ans
Nadja Janiele G. · Examiné il y a presque 3 ans
Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.