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
1
vote
1 answer

Charts drawn with %%chart command do not render

I have this query (a modified version of the query under the Line Chart section of the Datalab Tutorials notebook.) `%%sql --module timeseries SELECT HOUR(timestamp) AS timestamp, AVG(latency) AS latency, FROM…
xupv5
  • 239
  • 1
  • 2
  • 9
0
votes
0 answers

How to check if is a number divisible

Why my program does not work? I want to print n in every cycle, which it will be comparing if number n is divisible by 2, or divisible by 3 and 5 or divisible by none of these numbers. Thanks for help. funkcia = function(n){ for (i in 1:n){ …
OnlyForFun
  • 43
  • 5
0
votes
1 answer

How to open "http://localhost:8081/" in google cloud?

I started a new project in google could datalab. I closed the project, but now I want to re-open the project "http://localhost:8081/" and run my code. However, I don't know what I had done when I created the project. Procedures were so complicated…
0
votes
1 answer

How to fix Google Cloud ssh "module 'time' has no attribute 'clock'"?

I am trying to use google Datalab, however when I run the datalab create command, I get the following error: (base) oimtiaz@omars-MBP ~ % datalab connect ai-adventures --port 8082 Connecting to ai-adventures. This will create an SSH tunnel and may…
0
votes
0 answers

I can not use Google Cloud Translation API in datalab

I am a newbie of GCP. I tried to play with GCP Translation API in GCP Datalab. I setup as procedure in here(by directly input command in Datalab's Notebook) The last lines showed that the installation was successful. But it has some red portion…
0
votes
1 answer

mode notebook code migration to Google Notebook

I have python code executed in Mode 'Python Notebook' and want to migrate the code to Google Cloud Platform.I am using Google Bigquery to load the data in database. I have found Google DataLab and CoLab(Colaboratory) as an best alternative.Does…
0
votes
1 answer

Error in creating google datalab instance

I'm trying to follow the Datalab: Notebook in the Cloud video , and when executing the datalab create ai-adventures command, I encountered this error. ERROR: (gcloud.compute.instances.create) Could not fetch resource: - The user does not have…
badcoder
  • 191
  • 3
  • 13
0
votes
1 answer

My datalab VM instance always throw 'Not Found' error to me

enter image description here enter image description here I created a datalab VM through the console shell, but the file related to the created VM does not exist in the bucket, and even if I try to add a notebook through datalab, and upload a…
0
votes
1 answer

Dead Kernel while working on jupyter notebook in Google Cloud Datalab

I have been working on a GCP for one of my current projects and I occasionally use Datalab for writing snippets of data wrangling/processing codes. I have succesfully set up my project and VM and have established a connection to datalab from my…
0
votes
2 answers

how can I get non repeated rows on fetching data using keyword limit in big query and python

I have millions of rows with log as unique id. To process the data and save to another table I am doing something like this action = """select ID_log, ID_send_message, ID_send, ID_message, ID_recipient,email, action, action_date from…
Sourav Roy
  • 347
  • 3
  • 20
0
votes
1 answer

How can i bulk upload data into bigquery table from pandas dataframe in datalab

I am trying to insert new data in a table already created in bigquery. After processing the data and creating the data frame, I want to add the new rows in the table. i am looking bor a efficient way of doing it . Currently what i am doing is def…
Sourav Roy
  • 347
  • 3
  • 20
0
votes
1 answer

Cannot run pmdarima in google data lab. Its giving an error .ufunc size changed,

I am trying to run from pmdarima.arima import auto_arima. Its giving me an error numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject on intalling pmdarima !pip install pmdarima …
Sourav Roy
  • 347
  • 3
  • 20
0
votes
2 answers

Is there any way to run a BigQuery script from Google Cloud Datalab?

%%bq query SELECT 2; SELECT 3; Will result in a error. I also tried a more sophisticated approach like a few variations of: import google.datalab.bigquery as bq bq.Query(sql=''' SELECT 2; SELECT 3; ''').execute() And it will not work. I think the…
Louis
  • 77
  • 1
  • 6
0
votes
1 answer

Kaggle in Jupyter

I'm trying to link my kaggle project to Google Cloud Platform but I can't seem to get it done even after I followed: https://cloud.google.com/docs/authentication/getting-started I still get this error: DefaultCredentialsError: File /C:/Users/Jirah…
JM Nav
  • 43
  • 6
0
votes
1 answer

Upload files to Google Cloud Storage Bucket from Google Cloud Datalab using Python API

I'm trying to upload files from my Datalab instance within the notebook itself to my Google Storage Bucket using the Python API but I'm unable to figure it out. The code example provided by Google in its documentation doesn't seem to work in…
Michael Gardner
  • 1,693
  • 1
  • 11
  • 13