关于“在 Vertex AI 中部署用於線上預測的 BigQuery ML 客戶流失分類器”的评价
评论
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. · 评论almost 3 years之前
Renato A. · 评论almost 3 years之前
Mauro M. · 评论almost 3 years之前
Nadja Janiele G. · 评论almost 3 years之前
Eder T. · 评论almost 3 years之前
Nadja Janiele G. · 评论almost 3 years之前
lab lixo
João A. · 评论almost 3 years之前
Renan N. · 评论almost 3 years之前
lab lixo
João A. · 评论almost 3 years之前
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. · 评论almost 3 years之前
Rita d. · 评论almost 3 years之前
This lab has problems and I want my credits back
Leomara O. · 评论almost 3 years之前
Enzo D. · 评论almost 3 years之前
Leomara O. · 评论almost 3 years之前
Caroline C. · 评论almost 3 years之前
Doesnt load bigquery in the notebook
Rodrigo F. · 评论almost 3 years之前
Andreas Y. · 评论almost 3 years之前
error on import lib on notebook
Bainy K. · 评论almost 3 years之前
E S. · 评论almost 3 years之前
eh, bad way of presenting. too much code
Mateusz K. · 评论almost 3 years之前
Iza D. · 评论almost 3 years之前
Clovis M. · 评论almost 3 years之前
MUDASSAR S. · 评论almost 3 years之前
Hanna F. · 评论almost 3 years之前
Nadja Janiele G. · 评论almost 3 years之前
我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。