Accessing data and files in DataLab

Introduction to DataLab

Jason Mak

Product Lead

Datalab workbooks vs notebooks

Notebooks

  • Contain cells
  • Used to reproduce and run analysis

DataLab workbooks

  • Container for notebooks
  • Container for files and outputs
  • House data connections

Workbook file menu

Introduction to DataLab

Creating a new workbook

Side menu

Introduction to DataLab

Data sources in DataLab

DataLab data sources

Introduction to DataLab

Adding an Explore cell

Add Explore cell

Introduction to DataLab

Viewing data using an Explore cell

Datalab Explore cell

Introduction to DataLab

Turning an Explore cell into a query

Turn explore cell into a sql cell

Introduction to DataLab

Turning an Explore cell into a query

DataFrame from SQL

Introduction to DataLab

Turning an Explore cell into a query

SQL to dataframe

Introduction to DataLab

Connecting to a Google Spreadsheet

Google sheets connection

Introduction to DataLab

Adding and accessing files

Upload csv file

Introduction to DataLab

Querying a local file

     

Using a SQL cell
SELECT * 
FROM 'our_file.csv'

     

Using a code cell (Python)
import pandas as pd
df = pd.read_csv('our_file.csv')
Introduction to DataLab

Let's practice!

Introduction to DataLab

Preparing Video For Download...