Artifacts

Managing Artifacts in Data Science Lab

Overview

Artifacts in Data Science Lab (DSLab) allow users to save datasets and plots generated in a notebook. Artifacts provide a way to preserve and visualize outputs, share results, and integrate them into downstream workflows.

Note: Artifacts can be downloaded and previewed within the notebook for quick analysis.


Saving Artifacts Using a DS Notebook

Navigation path: Data Science Lab > Workspace > Repo Folder > Notebook > Artifacts

Steps to Save an Artifact

  1. Open a Data Science Notebook (.ipynb file).

  2. Add a new code cell.

  3. Provide a dataset and define a DataFrame.

  4. Execute the cell to generate the data or plot.

  5. Add another code cell below the executed cell.

  6. Click the Ellipsis (three-dot) icon to access additional options.

  7. Select Save Artifacts.

  8. Provide the following information:

    • DataFrame Name: Name of the dataset or plot.

    • Artifact Name: Include file extension (.csv, .txt, .json) as appropriate.

  9. Execute the cell.

  10. The artifact is saved and listed under the Artifacts tab.

Note:

  • Saved artifacts can be downloaded for external use.

  • Artifacts provide instant visualizations based on executed notebook scripts.

Previewing Artifacts

Navigation path: Data Science Lab > Workspace > Artifacts Tab > Saved Artifact

  1. Open the Artifacts tab in the workspace.

  2. Select the saved artifact from the left-side panel.

  3. Click the vertical ellipsis (three-dot) icon for the selected artifact.

  4. From the context menu, select Preview.

  5. The artifact preview is displayed for visual inspection.

Note: Artifacts can be deleted from the list by selecting the Delete option in the same context menu.

Key Points

  • Artifacts preserve datasets and visual outputs for reproducibility and collaboration.

  • Supports multiple file formats, including .csv, .txt, and .json.

  • Integrated preview enables quick validation and inspection of saved results.