Iconize Datasets and Programs

Sometimes it is useful to embed a large dataset, expression or program into a notebook. Historically, this has been done by hiding cells in closed bootstrapping groups or making them be initialization cells. Now the content can be stored very efficiently in labeled constructs generated by Iconize.

Create a labeled iconized construct from a slow-loading online dataset.

Copy the iconized blob to a new input.

The import command is no longer needed; the data now resides in the notebook.

Use and combination of Iconize and Unevaluated to create a construct containing initialization code with function definitions.

Deploy the initialization code in a notebook for users who do not need to see or edit it.

Related Examples

de es fr ja ko pt-br zh