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
4
votes
1 answer

Problems reading bigquery google sheets federated data sources into cloud datalab via pandas_gbq

This is very similar to this question -- I have basically the same question, and one of the commenters there said he had solved it but didn't flesh out the solution. I have data in a google sheet, which I have set up as a google BigQuery federated…
4
votes
5 answers

How to pull and push notebooks to github from google cloud datalab?

I'd like to setup google cloud datalab to read my notebooks from a github repo and push them back there as I make changes. I was able to setup a cloud repo that mirrored my github project but when using ungit in datalab to push changes, it said that…
aloo
  • 5,331
  • 7
  • 55
  • 94
4
votes
2 answers

How to create datalab with a compute engine with a GPU?

I can create datalab with specific CE instance type, but then can't add GPU to that instance. I can create CE instance with GPU, but then don't know how to run datalab on it. Please, help.
Yanis Urbis
  • 181
  • 1
  • 5
4
votes
1 answer

Google datalab : how to import pickle

Is it possible in Google Datalab to read pickle/joblib models from Google Storage using %%storage clause? This question relates to Is text the only content type for %%storage magic function in datalab
Evgeny Minkevich
  • 2,319
  • 3
  • 28
  • 42
4
votes
1 answer

Can multiple CPU cores be used in Google Datalab?

If the answer is yes, what will be a simple example to test this capability? I have tried to use the multiprocessing capabilities of SFrame and implicit. But the CPU utilization is always below 10% of a n1-highmem-32 (32 vCPUs, 208 GB memory)…
linghu
  • 41
  • 2
4
votes
2 answers

Google Cloud Dataproc from Google Datalab

Is it possible to run code located in Google Cloud Datalab on Dataproc clusters? The idea is to use the great interactivity and interface by Datalab to run Apache Spark code.
jaycode
  • 2,926
  • 5
  • 35
  • 71
4
votes
1 answer

Read data stored in zip file in Google Cloud Storage from Notebook in Google Cloud Datalab

I have a zip file containing a relatively large dataset (1Gb) stored in a zip file in Google Cloud Storage instance. I need to use Notebook hosted in Google Cloud Datalab to access that file and the data contained there. How do I go about…
jaycode
  • 2,926
  • 5
  • 35
  • 71
4
votes
2 answers

Is there a list of the datalab keyboard shortcuts?

I've started going through the initial tutorials and documentation for the datalab, and they do provide suggested keyboard shortcuts occasionally, but I couldn't seem to find a list of them anywhere so I could explore the various options. Any links…
CasualT
  • 4,869
  • 1
  • 31
  • 53
4
votes
5 answers

How do I quickly get data out of a Google Cloud Datalab notebook?

I just want to grab some output data from a Google Cloud Datalab notebook quickly, preferably as a throwaway CSV file. I've done this: writer = csv.writer(open('output.csv', 'wb')) for row in rows: writer.writerow(row) This writes a local…
Richard
  • 62,943
  • 126
  • 334
  • 542
4
votes
1 answer

Better documentation for charts

Can you point me to better documentation for charts. I can do the following but this does not show me the different options for the charts. For instance what would I have to set for the line colors to be red. usage: %%chart line [-h] [-f FIELDS] -d…
3
votes
1 answer

Invalid arguments when creating new datalab instance

I am following the quickstart tutorial for datalab here, within the GCP console. When I try to run datalab beta create-gpu datalab-instance-name In step 3 I receive the following error write() argument must be str, not bytes Can anyone help…
greenPlant
  • 482
  • 4
  • 16
3
votes
1 answer

What is difference between AI Notebook and Cloud Datalab in GCP?

I have searched for an answer to this question and this question is duplicate but I need clarification as I looked at two different places and answers are a bit opposite. The following Stack Overflow answer mentions that Google Cloud AI Platform…
3
votes
2 answers

Issue querying a Hive table in Datalab

I have create a dataproc cluster with an updated init action to install datalab. All works fine, except that when I query a Hive table from the Datalab notebook, i run into hc.sql(“””select * from invoices limit…
3
votes
1 answer

Error using Dataproc and Spark BigQuery Connector within DataLab Notebooks

Am able to get Google Datalab (Notebooks) running in Google Chrome with the correct TCP firewall permissions. Using the simple script, this launches the most current spark cluster (1 master with 3 workers using Dataproc). First we test the below…
3
votes
1 answer

How do I change the root directory for jupyter lab when using google cloud compute's Deep Learning VM?

I have successfully set up a GCP instance from the "Deep Learning Virtual Machine Image" as directed by the documentation. I have an ipython notebook file in the following path: /home/myname/my-notebook.ipynb When I go to http://localhost:8080/…
1 2
3
31 32