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

Google Datalab - Weird UDF Expansion

I wanted to refer to an existing UDF from datalab. I have this: %%bq udf --name interpolate -l js // A function do liner interpolate // @param lagValue FLOAT64 // @param leadValue FLOAT64 // @param lagReference FLOAT64 // @param leadReference…
foxwendy
  • 2,819
  • 2
  • 28
  • 50
0
votes
1 answer

What is the cause of this strange error message in Google's Cloud Datalab when importing cv2

I have the following code in a Datalab notebook: import os import glob import numpy as np import cv2 from sklearn.utils import shuffle Seems pretty straight forward. But when I run it, it crashes giving the following error: ImportErrorTraceback…
0
votes
1 answer

load bigquery data to datalab

I would like to use public data from bigquery on datalab, and then into a pandas dataframe. How would I go about doing that. I have tried 3 different versions: from google.cloud import bigquery client = bigquery.Client() QUERY = ( 'SELECT…
ccasimiro9444
  • 425
  • 1
  • 6
  • 22
0
votes
3 answers

Why am I getting an "Error loading notebook" error when trying to set up Datalab and do image classification on Cloud ML Engine?

I am following the tutorial here: https://codelabs.developers.google.com/codelabs/cloud-ml-engine-image-classification/index.html?index=..%2F..%2Findex#0 and it is claiming that it will allow me to do image classification on the google cloud. I…
0
votes
2 answers

Error Opening Datalab Notebooks (All Files!) No Dataflow Connection

Today I started up my VM and went to open one of my note books and got the following error: Type u'notebook&_=1495504519954' is invalid I have now tried numerous notebooks. They are all coming back with a similar error. Any ideas?
Brian F
  • 107
  • 1
  • 7
0
votes
1 answer

Google ML Engine - How to properly terminate a Datalab session

I tried to follow this guide using the Cloud Shell: https://cloud.google.com/ml-engine/docs/quickstarts/datalab, but when I was going to stop my session I couldn't avoid getting an error. Everything works fine until the clean up part. Then I close…
mrdr
  • 95
  • 10
0
votes
1 answer

Restore google cloud notebook after restart

How can I restore google cloud datalab notebook? I can see the notebooks through ssh, if I try to find the files with readlink command, but I cannot see it with ls command and download them to my PC or view it through datalab interface. When I try…
0
votes
1 answer

PuTTY command line error while connecting to google datalab instance

I'm trying to connect to previously created instance in Google Cloude Compute Engine using datalab, or create a new one using Google Cloud SDK Shell: datalab connect nst The program cannot connect, the error is the following: ERROR:…
0
votes
1 answer

Using a different codec with Csv parser in Google Cloud Datalab

I am trying to read a csv from google cloud storage in Google Cloud Datalab but its falling over with the following error message: UnicodeDecodeErrorTraceback (most recent call last) in () 17 fn =…
Stewart_R
  • 13,764
  • 11
  • 60
  • 106
0
votes
1 answer

bigquery - current_date() inconsistent result?

I ran current_date() in datalab notebook today(2017 April 12 in UTC), found inconsistent results from two dialects by chance. Why is it? Actually I am using standard dialect and wanted to get the exact current day in UTC which should be 2017-04-12,…
foxwendy
  • 2,819
  • 2
  • 28
  • 50
0
votes
2 answers

how to import h5py on datalab?

Does anybody know how to install h5py on datalab? pip install h5py doesn't work. apt-get install python-h5py is working in the shell but it doesn't recognize the package in datalab notebook! Thnaks
Nima
  • 55
  • 8
0
votes
1 answer

Is it possible to create a google cloud datalab instance not using datalab-network?

Because the way we use GCP, it's not possible for me to create a datalab-network in my setup. So when I create a Datalab instances though "datalab create", I get an error (ERROR: ...Required 'compute.networks.create' permission for…
0
votes
2 answers

Menubar in datalab keeps vanishing

The menu bar in datalab keeps vanishing on me. I'm using Safari on a mac. Is there a way to pin it to the top of the screen? Sometimes I can get it to reappear by quickly scrolling up, or clicking where it should be, but it's inconsistent, so I've…
Aturen
  • 93
  • 1
  • 7
0
votes
1 answer

Giving Access to my Datalab instance to other users via service account

I have a project with 3 datalab instances and i have 6 users ,there is no way to give access to a particular instance (like i want instance 1 to be accessed only by user 1 and 3 , not by others and so on) . I can add all 6 users to my project but in…
0
votes
2 answers

Join in Google BigQuery via Cloud Datalab

I am trying to do JOIN on two columns from two different tables (one of them is a view) in Google BigQuery. I have tried this numerous ways, but have received this error the most consistently: invalidQuery: 2.1 - 0.0: JOIN cannot be applied directly…