Questions tagged [google-cloud-datalab]

An online tool for data analysis provided by Google as part of its Cloud Platform.

An easy to use interactive tool for large-scale data exploration, analysis, and visualization.

See more at https://cloud.google.com/datalab.

468 questions
0
votes
1 answer

How can I use BigQuery's dataset in Data Lab

I have some datasets in BigQuery, I wonder if there is a way to use the same datasets in Data Lab? As the datasets are big, I can't download it and reload it in Data Lab. Thank you very much.
mdivk
  • 3,545
  • 8
  • 53
  • 91
0
votes
2 answers

Unable to Get JupyterLab Link

Google recommends using: gcloud compute instances describe --project NAME --zone ZONE INSTANCE | grep googleusercontent.com | grep datalab But when I run this, nothing shows up. I can access the JupyterLab through normal SSH tunnelling however. How…
0
votes
1 answer

How do I open images stored in GCP in Google datalab?

I have been trying to open a image that I stored in the GCP bucket in my datalab notebook. When I use Image.open() it says like "No such file or directory: 'images/00001.jpeg'" My code is: nama_bucket = storage.Bucket("sample_bucket") for obj in…
0
votes
1 answer

Writing to GCS using AVRO within AI Notebook

Summary: 1) How to write a Pandas data frame into GCS(Google cloud storage) within a Jupyter Notebook(like AI Notebook) 2) In the same notebook, how to call that object to be uploaded into a new data set in Bigquery Problem I do have an object that…
0
votes
1 answer

Guidelines on updating apach-beam-dataflow and google-cloud-bigquery

I would like to use the latest google-cloud-bigquery and dataflow sdk that is available for python 2.7 The client bigquery code for old and new versions has changed dramatically and the older versions are planned to be deprecated. based on…
0
votes
1 answer

Loading csv file in datalab jupyter notebook

I am building a machine learning model using large enough dataset (2 GB), which can not be run in my local machine, thus I decided to use google cloud datalab. I have successfully created VM but I could not find how to import data like we can in…
Saurabh
  • 121
  • 12
0
votes
0 answers

Datalab - can't connect to instance after modifying startup.sh

I'm working on Datalab and I need specific versions of plotly and scikit-learn. I followed the docs and modified /content/datalab/.config/startup.sh which is now as follows: pip install plotly==4.1.0 pip install scikit-learn==0.21.3 If I remove the…
Alessandro Gaballo
  • 708
  • 3
  • 13
  • 28
0
votes
2 answers

How to export tensorflow models on datalab to use in bigquery?

I have a trained model in TensorFlow on Google Cloud Datalab. I want to export it and import it in BigQuery and predict using BigQuery. How do i export it with path as gs://*?
0
votes
1 answer

Write Bigquery results to Bigquery in Datalab

I ran a query abc and got the result table m in Datalab. Is there any way I can create a new table in Bigquery and write the content of table m to it in Datalab? %%bq query --name abc select * from `test` m=abc.execute().result()
Houhouhia
  • 35
  • 6
0
votes
1 answer

Format of query_params for BigQuery DataLab

Hi there SO community, So I've been trying to get this parameterized query to work on a DataLab notebook. Since I plan to execute the query multiple assignments of such parameters I cannot use the %%bq execute syntax. Instead I've been trying to use…
nbermudezs
  • 2,814
  • 1
  • 20
  • 20
0
votes
2 answers

GCP and Datalab with Python 3.6, Need to use Jupyter on GCP

I'm trying to use fastai's libraries, but some of the data accessing tools built in to those libraries are dependent on HTML objects. For example, the DataBunch.show_batch attribute produces an HTML object that is easiest to use in Jupyter. I need…
0
votes
1 answer

What is the equivalent of Google Cloud Datalab(jupyter notebook service) managed service provided in Amazon Cloud

What is the equivalent of Google Cloud Datalab(jupyter notebook service) managed service provided in Amazon Cloud, for usage by Data Analysts/Data Scientists? Is the only option is to build Databricks/Jupyter notebook separately on EC2 cluster in…
0
votes
1 answer

ContextualVersionConflict: Datalab + Cloud Vision

I'm getting a ContextualVersionConflict when making a call to Google Cloud Vision API I have installed/upgraded the libraries I can think of, to no avail. The code works on my local machine, the issue just happens in Datalab. Code: !pip install…
Jose
  • 13
  • 1
  • 3
0
votes
1 answer

datalab Import Error: cannot import name 'vision'

I am trying to call the Google Cloud Vision API from Google Cloud Datalab, but getting an import error. Has anyone encountered/resolved this? I am following the guide in https://cloud.google.com/vision/docs/detecting-safe-search from google.cloud…
0
votes
1 answer

How to fix syntax error while importing google.datalab in python

I am trying to import bigquery from datalab package in python 3.7.*, but it is throwing invalid syntax error. I tried installing the google-cloud-datalab package but getting the error saying ERROR: No matching distribution found for…