Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I share my notebooks in DataLab?

DataLab uses a shared service account but I can't see my team members' notebooks. How do we share notebooks between team members?

like image 843
Graham Wheeler Avatar asked Oct 15 '15 16:10

Graham Wheeler


People also ask

How do I save my notebook to the cloud?

Navigate to the /datalab/notebooks folder in your Cloud Datalab notebook browser window. Open a new notebook from the /datalab/notebooks folder by selecting the "+ Notebook" icon. Select Notebook→Save and Checkpoint (Ctrl-s), or wait for the notebook to be autosaved.

Is Google Cloud datalab free?

There is no charge for using Google Cloud Datalab. However, you do pay for any Google Cloud Platform resources you use with Cloud Datalab, for example: Compute resources: You incur costs from the time of creation to the time of deletion of the Cloud Datalab VM instance.


2 Answers

Notebooks are stored in a git repository. If you click the "git Repository" icon on the notebook listing page it will take you to the Cloud Repo page in Google Cloud Dev Console. Pick the datalab_main branch in the dropdown and you will see files ready for commit. Once you commit, other users can click Refresh on the same page in Dev Console (Source | Browse in left nav bar) and they will see the changes and the new notebooks.

The other option is to download the notebook as an .ipynb file and share it that way.

like image 179
Graham Wheeler Avatar answered Jan 04 '23 00:01

Graham Wheeler


The answer above was for the beta1 version. For GA version released in March 2017, the mechanics have changed. Click the tree icon in the top bar to get to the git UI. Then you can perform normal git operations to push/pull as appropriate. Also see this doc topic and related links.

Dinesh Kulkarni,

PM, Google Cloud Datalab

like image 40
Dinesh Avatar answered Jan 04 '23 00:01

Dinesh