Data Science Lab
  • What is Data Science Lab?
  • Accessing the Data Science Lab Module
  • Data Science Lab Quick Start Flow
  • Project
    • Environments
    • Creating a Project
    • Project List
      • Keep Multiple Versions of a Project
      • Sharing a Project
      • Editing a Project
      • Activating a Project
      • Deactivating a Project
      • Deleting a Project
    • Tabs for a Data Science Lab Project
      • Tabs for TensorFlow and PyTorch Environment
        • Notebook
          • Ways to Access Notebook
            • Creating a Notebook
            • Uploading a Notebook
          • Notebook Page
            • Preview Notebook
            • Notebook Cells
              • Using a Code Cell
              • Using a Markdown Cell
            • Modifying a Notebook
            • Resource Utilization Graph
            • Notebook Taskbar
            • Notebook Operations
              • Datasets
                • Copy Path (for Sandbox files)
              • Secrets
              • Algorithms
              • Transforms
              • Models
                • Model Explainer
                • Registering & Unregistering a Model
                • Applying Filter
              • Predict
              • Artifacts
              • Variable Explorer
              • Find and Replace
          • Notebook List Page
            • Export
              • Export to Pipeline
              • Export to GIT
            • Notebook Version Control
            • Sharing a Notebook
            • Editing a Notebook
            • Deleting a Notebook
        • Dataset
          • Adding Data Sets
            • Data Sets
            • Data Sandbox
          • Dataset List Page
            • Preview
            • Data Profile
            • Create Experiment
            • Data Preparation
            • Delete
        • Utility
        • Model
          • Model Explainer
          • Import Model
          • Export to GIT
          • Register a Model
          • Unregister A Model
          • Register a Model as an API Service
            • Register a Model as an API
            • Register an API Client
            • Pass Model Values in Postman
          • AutoML Models
        • Auto ML
          • Creating Experiments
            • Accessing the Create Experiment Option
              • Configure
              • Select Experiment Type
          • AutoML List Page
            • View Report
              • Details
              • Models
                • View Explanation
                  • Model Summary
                  • Model Interpretation
                    • Classification Model Explainer
                    • Regression Model Explainer
                  • Dataset Explainer
            • Delete
      • Tabs for PySpark Environment
        • Notebook
          • Ways to Access Notebook
            • Creating a Notebook
            • Uploading a Notebook
          • Notebook Page
            • Preview Notebook
            • Notebook Cells
              • Using a Code Cell
              • Using a Markdown Cell
            • Modifying a Notebook
            • Resource Utilization Graph
            • Notebook Taskbar
            • Notebook Operations
              • Datasets
                • Copy Path (for Sandbox files)
              • Secrets
              • Variable Explorer
              • Find and Replace
          • Notebook List Page
            • Export
              • Export to Pipeline
              • Export to GIT
            • Notebook Version Control
            • Sharing a Notebook
            • Editing a Notebook
            • Deleting a Notebook
        • Dataset
          • Adding Data Sets
          • Dataset List Page
            • Preview
            • Data Profile
            • Data Preparation
            • Delete
        • Utility
Powered by GitBook
On this page
  • Importing a Utility Script
  • Importing the Utility Script inside a Notebook
  • Updating the Utility Script
  1. Project
  2. Tabs for a Data Science Lab Project
  3. Tabs for PySpark Environment

Utility

This tab allows to create and list the python scripts (.py files) that can be imported to your notebook.

PreviousDelete

Last updated 2 years ago

Check out this walk-through on how to import a Utility scrip.

Importing a Utility Script

  • Navigate to the Utility tab for a Project.

  • Click the Add Script option.

  • The Add utility script page opens.

  • Provide the following information:

    • Utility Name

    • Utility Description

    • Utility Script

  • Click the Save option.

  • A confirmation message appears.

  • The newly created Utility Script gets added to the Utility list.

Importing the Utility Script inside a Notebook

  • Copy a utility script name using the Utility list.

  • Navigate to the Notebook tab.

  • Create a Notebook or open an existing Notebook and navigate to the Notebook page.

  • Add a Code cell.

  • Write code to import data with specific class.

  • Provide the Utility script as the resource to get data.

  • Specify the variables to get the class and get the data in the next code cell.

  • Provide print function to see the data.

  • Run all the cells.

  • You can get the output below.​

Updating the Utility Script

  • Navigate to the Utility tab.

  • Select an uploaded utility script from the list.

  • Click the Edit icon.

  • The Update Utility Script page opens.

  • The Utility script content gets displayed. The user can modify the content if needed.

  • Click the Update option.

  • A success message appears.

  • The selected Utility script gets updated.

Actions Provided on the Utility List Page

Icon
Name
Actions

Edit

Redirects the user to the Update Utility Script page.

Delete

Prompts to delete the selected Utility Script.

Please Note: Refer the Data Science Lab Quick Start Flow page to get an overview of the Data Science Lab module in nutshell. to get redirected to the quick start flow page.

Click here
The Add Utility Script form to provide the required details
The newly imported Utility script lists under the Utility list