---
title: Execute scipyr
description: Run analytical code blocks from Scipyr Books and retrieve processed data.
category: Infoveave Activities
tags: [scipyr, analytics, dataframe, python, notebook, execute]
---

# Execute scipyr

## Description

The **Execute Scipyr** activity allows execution of custom Python scripts within a **Scipyr Book**. These scripts can perform data analysis, transformation, aggregation, or modeling using familiar Python libraries like Pandas, NumPy, or SciPy.

This activity is ideal for running pre-authored logic from Scipyr notebooks and returning structured tabular data for downstream workflow operations.

> **Use Case**:  
> When you want to reuse a data processing function or analysis pipeline written in Python, such as forecasting sales or calculating KPIs, inside your no-code or low-code workflow.

---

## Input

| Type          | Description                          |
| ------------- | ------------------------------------ |
| File (Scipyr) | The Scipyr book containing the code. |

---

## Output

| Type | Format | Description                            |
| ---- | ------ | -------------------------------------- |
| Data | Table  | Output of the executed Scipyr notebook |

---

## Configuration Fields

| Field Name      | Required | Description                                                                     |
| --------------- | -------- | ------------------------------------------------------------------------------- |
| **Scipyr Book** | Yes      | Select the Scipyr Book (.scipyr file) that contains the Python code to execute. |
| **Data Frame**  | Yes      | Name of the DataFrame within the Scipyr Book to process and return as output.   |

---

## Sample Input

_Not applicable_ — data is pulled from the selected Scipyr Book and executed code.

---

## Sample Configuration

| Field       | Value                     |
| ----------- | ------------------------- |
| Scipyr Book | `ForecastingModel.scipyr` |
| Data Frame  | `forecast_output`         |

---

## Sample Output

| Sale Date           | Product Name | Customer ID | Sales Region | Sales Channel | Unit Price | Units Sold |
| ------------------- | ------------ | ----------- | ------------ | ------------- | ---------- | ---------- |
| 2024-10-23T00:00:00 | Monitor      | 1661        | East         | Phone         | 152.93     | 7          |
| 2024-10-23T00:00:00 | Keyboard     | 2345        | West         | Web           | 89.99      | 15         |

---
