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
2 answers

How to make my datalab machine learning run faster

I got some data, which is 3.2 million entries in a csv file. I'm trying to use CNN estimator in tensorflow to train the model, but it's very slow. Everytime I run the script, it got stuck, like the webpage(localhost) just refuse to respond anymore.…
Elona Mishmika
  • 480
  • 2
  • 5
  • 21
0
votes
1 answer

How can I check hidden files in the notebook file list?

When using gsutil as a magic command, hidden files are not copied by default. So I often use hidden files. But I can not see them on the notebook list. Of course, if you check with !ls, the file actually exists. How do I view hidden files in the…
Jay
  • 397
  • 1
  • 5
  • 19
0
votes
1 answer

How do I set the default bigquery dialect in Datalab?

In datalab I'm using the datalab.bigquery module. I'd like to set the default dialect to SQL. I tried the following but it didn't work. import datalab.bigquery as datalab_bq dialect=datalab_bq.Dialect.default() dialect.set_bq_dialect('sql') But it…
Jeremy Lewi
  • 6,386
  • 6
  • 22
  • 37
0
votes
1 answer

running parameterized bigquery via cell magic in jupyter notebook

I've got a problem with pydatalab: I just installed it and normal querying and charting via cell magic works fine. The wiki for pydatalab says, it's possible to add chart controls. But that wiki uses some old %%sql syntax instead of the new %%bq…
Nico Albers
  • 1,556
  • 1
  • 15
  • 32
0
votes
1 answer

Dataproc PySpark Workers Have no Permission to Use gsutil

Under Dataproc I setup a PySpark cluster with 1 Master Node and 2 Workers. In bucket I have directories of sub-directories of files. In the Datalab notebook I run import subprocess all_parent_direcotry = subprocess.Popen("gsutil ls…
0
votes
1 answer

Google Datalab and Python Issue

I have a python script that runs perfectly in my IDE on my local machine, but when I run it on Google Datalab, it throws this error: ValueError: could not convert string to float: '80,354' The code is simple, and the graph prints in my Pycharm IDE,…
0
votes
0 answers

Running Google Earth Engine Datalab through docker

I'm trying to install Google Earth Engine Datalab (to use the Python API) in my windows (Home Edition) PC. As I can't install docker as is, I’ve installed Docker Toolbox. Then, I’ve installed the latest image as the instructions in…
0
votes
1 answer

Tensorflow Datalab 'module' object has no attribute 'feature_column'

So, I literally copied and pasted the code from this quickstart: https://www.tensorflow.org/get_started/estimator into a new datalab notebook.... this code has worked for me many times in the past but now I'm getting an error that says the tf module…
Jacob
  • 159
  • 3
  • 13
0
votes
1 answer

Unable to install packages in Google Cloud Datalab

I have been trying to insatll 'svmutil' on Google Datalab using the following command - %bash pip install svmutil I am getting the following error - Collecting svmutil Could not find a version that satisfies the requirement svmutil (from…
TeeKay
  • 1,025
  • 2
  • 22
  • 60
0
votes
1 answer

Dropbox OAuth API v2 not working on Google Cloud Platform - Datalab - iPython Notebook

Referring to the tutorial at Dropbox for Python Developers I am using Google Cloud Platform, datalab. CODE: dbx = dropbox.Dropbox() dbx.users_get_current_account() OUTPUT: ValueError: Timeout value connect was…
0
votes
1 answer

Re-entering Cloud Datalab from docker?

I am using docker to get on a Cloud Datalab so I can use google earth engine. I initially set things up by using these directions for windows, https://developers.google.com/earth-engine/python_install-datalab-local. Everything worked fine and I got…
Stefano Potter
  • 3,467
  • 10
  • 45
  • 82
0
votes
0 answers

I have a `lxml` installed and I can not find it

I had to parse xml and tried to install and use the library. I installed it on my datalab notebook as follows. !pip install lxml Requirement already satisfied: lxml in /usr/local/lib/python2.7/dist-packages But when I try to use it, I get an…
Jay
  • 397
  • 1
  • 5
  • 19
0
votes
1 answer

tensorboard execution from google cloud machine

I am new to tensorboard and trying to make it work on my GCE that runs google cloud datalab. I am using the code from: https://github.com/MorvanZhou/tutorials/blob/master/tensorflowTUT/tf15_tensorboard/full_code.py the data is saved on logs folder…
0
votes
1 answer

authentication - connect to datalab from compute engine

I would like to connect to bigQuery from datalab and execute update commands. I run the following code for the API & authentication: from google.cloud import bigquery # Get everything we possibly can from the service account JSON file #set…
eilalan
  • 669
  • 4
  • 20
0
votes
1 answer

VM instance Datalab connection Issue

I cannot ssh to a particular vm instance, i have checked firewall and port 22 is allowed for receiving traffic. The command i used was datalab connect instance_name This is the error : Waiting for Datalab to be reachable at…
deppmish
  • 11
  • 4