run_script
Execute Python scripts for data analytics tasks, including data processing, visualization with matplotlib/plotly, and saving results for further analysis.
Instructions
Python Script Execution Tool
Purpose: Execute Python scripts for specific data analytics tasks.
Allowed Actions 1. Print Results: Output will be displayed as the script’s stdout. 2. [Optional] Save DataFrames: Store DataFrames in memory for future use by specifying a save_to_memory name. 3. Create Charts: You can use matplotlib.pyplot or plotly.graph_objects to create and save charts to an absolute path.
Prohibited Actions 1. Overwriting Original DataFrames: Do not modify existing DataFrames to preserve their integrity for future tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| save_to_memory | No |