리뷰 온라인 예측을 위해 BigQuery ML 고객 앱 제거 분류기를 Vertex AI에 배포하기개

리뷰 18031개

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. · 거의 3년 전에 리뷰됨

Renato A. · 거의 3년 전에 리뷰됨

Mauro M. · 거의 3년 전에 리뷰됨

Nadja Janiele G. · 거의 3년 전에 리뷰됨

Eder T. · 거의 3년 전에 리뷰됨

Nadja Janiele G. · 거의 3년 전에 리뷰됨

lab lixo

João A. · 거의 3년 전에 리뷰됨

Renan N. · 거의 3년 전에 리뷰됨

lab lixo

João A. · 거의 3년 전에 리뷰됨

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. · 거의 3년 전에 리뷰됨

Rita d. · 거의 3년 전에 리뷰됨

This lab has problems and I want my credits back

Leomara O. · 거의 3년 전에 리뷰됨

Enzo D. · 거의 3년 전에 리뷰됨

Leomara O. · 거의 3년 전에 리뷰됨

Caroline C. · 거의 3년 전에 리뷰됨

Doesnt load bigquery in the notebook

Rodrigo F. · 거의 3년 전에 리뷰됨

Andreas Y. · 거의 3년 전에 리뷰됨

error on import lib on notebook

Bainy K. · 거의 3년 전에 리뷰됨

E S. · 거의 3년 전에 리뷰됨

eh, bad way of presenting. too much code

Mateusz K. · 거의 3년 전에 리뷰됨

Iza D. · 거의 3년 전에 리뷰됨

Clovis M. · 거의 3년 전에 리뷰됨

MUDASSAR S. · 거의 3년 전에 리뷰됨

Hanna F. · 거의 3년 전에 리뷰됨

Nadja Janiele G. · 거의 3년 전에 리뷰됨

Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.