DataLab Docs
  • What is DataLab?
  • Work
    • Creating a workbook
    • Sharing a workbook
    • Managing a workbook
    • Code cell
      • Working with packages
    • Text cell
      • Including images
    • SQL cell
      • SQL scenarios
      • Parameterize your SQL query
    • Explore Data cell
    • Chart cell
      • Configuring your chart
      • Pivot charts
      • Migration guide
    • AI Assistant
    • Version history
    • Scheduled runs
    • Hiding and showing cells
    • Long-running cells
    • Report view
    • Environment variables
    • Git and GitHub
  • Connect to Data
    • Connect your data to DataLab
    • Sharing a Data Source
    • Airtable
    • Amazon Athena
    • Amazon S3
    • Databricks
    • Dropbox
    • Files
    • Google Drive
    • Google BigQuery
    • Google Sheets
    • MariaDB
    • Microsoft SQL Server
    • MongoDB
    • MotherDuck
    • MySQL
    • Oracle Database
    • PostgreSQL
    • Redshift
    • Snowflake
    • Supabase
  • Guides
    • Publish a notebook
    • Importing data from flat files
    • Resizing plots
    • Show Bokeh and Pyvis plots
  • Resources
    • Pricing
    • Manage group settings
    • Reporting for Group Admins
    • DataLab for education
    • Technical requirements
    • Addressing slow code
    • Address R vulnerability
    • Get help
Powered by GitBook
On this page

Was this helpful?

  1. Work

Hiding and showing cells

PreviousScheduled runsNextLong-running cells

Last updated 1 year ago

Was this helpful?

You can hide and show the code and/or output of one or all cells in a notebook. This allows you to pull the attention towards the insights that matter, keeping all of your data cleaning and theming plumbing out of sight. The code and output of a cell that you hide won’t be visible in .

To hide the code portion of a code or SQL cell, click the 'eye' icon that appears next to the code:

To hide the output portion of a cell, click the 'eye' icon that appears next to the output.

You can also hide both the code and the output, which collapses the entire cell into a line. Multiple adjacent hidden cells will also show up as one line.

reader mode
Hiding the code portion of a cell
Result of hiding the code portion of a cell
Hiding the output portion of a cell
Result of hiding the output portion of a cell
Result of hiding the code and output portion of a cell