Task: Data-transform-reshape (source dataset: Auto-Tables)

Given a table, predict what python pandas transformation may be needed on the given input table. Valid choices for transformation include: {"stack", "wide_to_long", "transpose", "pivot", "explode", "ffill", "subtitles"}. Note that each of these is a common Python Pandas operator. Some transformations can have parameters. Each transformation and its parameters are describe as follows.
 
- stack: collapse homogeneous cols into rows.
@param (int): stack_start_idx: zero-based starting column index of the homogeneous column-group.
@param (int): stack_end_idx: zero-based ending column index of the homogeneous column-group.
 
- wide_to_long: collapse repeating col-groups into rows.
@param (int): wide_to_long_start_idx: zero-based starting column index of the repeating col-groups.
@param (int): wide_to_long_end_idx: zero-based ending column index of the repeating col-groups.
 
- transpose: convert rows to columns and vice versa.
 
- pivot: pivot repeating row-groups into cols.
@param (int): pivot_row_frequency: frequency of repeating row-groups.
 
- ffill: fill structurally empty cells in tables.
@param (int): ffill_end_idx: zero-based ending column index of the columns to be filled.
 
- explode: convert composite cells into atomic values
@param (int): explode_column_idx: zero-based column index of the column to be exploded.
 
- subtitle: convert table subtitles into a column.
 
OUTPUT the predicted transformation name along with its parameters for the given INPUT table in a JSON, e.g., {"transformation": "stack", "stack_start_idx": 1, "stack_end_idx": 5}. If the input table needs multi-step transformations (e.g, ffill followed by stack), list JSON of each transformation sequentially in a list, e.g., [{"transformation": "ffill", "ffill_end_idx": 1}, {"transformation": "stack", "stack_start_idx": 1, "stack_end_idx": 5}]. No explanation is needed.

## Input:
|                                                 | Essentials   | Enterprise   |
|:------------------------------------------------|:-------------|:-------------|
| I) User Interface                               |              |              |
| Web-based Interface                             | 0.0          | 0.0          |
| Multilingual, Arabic, English & French Support  | 0.0          | 0.0          |
| User Customizable Localisation                  | 0.0          | 0.0          |
| Basic Dashboards                                | 0.0          | 0.0          |
| User-defined Dashboards                         |              | 0.0          |
| II) Functional Features                         |              |              |
| Multiple Companies Support                      |              | 0.0          |
| Multiple Branches Support                       | 0.0          | 0.0          |
| Multiple Currencies Support                     |              | 0.0          |
| III) Reporting                                  |              |              |
| Grouping Data                                   | 0.0          | 0.0          |
| Filtering Data                                  | 0.0          | 0.0          |
| Pivoting                                        |              | 0.0          |
| Data Visualization (User-defined Charts)        | 0.0          | 0.0          |
| Show/Hide Columns                               | 0.0          | 0.0          |
| Aggregate Functions                             | 0.0          | 0.0          |
| Save Reports Layouts                            |              | 0.0          |
| Report Printing                                 | 0.0          | 0.0          |
| Export to Excel                                 | 0.0          | 0.0          |
| Export to CSV                                   | 0.0          | 0.0          |
| Export to PDF                                   | 0.0          | 0.0          |
| IV) Notifications                               |              |              |
| Email                                           | 0.0          | 0.0          |
| System News bar                                 | 0.0          | 0.0          |
| SMS                                             |              | 0.0          |
| Mobile Push Notifications                       |              | 0.0          |
| V) Workflow                                     |              |              |
| Transaction-based Single Level Approval         | 0.0          | 0.0          |
| User-defined Approval Cycle                     |              | 0.0          |
| User-defined Approval Notifications             |              | 0.0          |
| VI) Administration & User Privileges            |              |              |
| Unlimited User-defined Roles                    | 0.0          | 0.0          |
| User-defined Roles-Forms Privileges             | 0.0          | 0.0          |
| User-defined Roles-Reports Privileges           | 0.0          | 0.0          |
| User-defined Roles-Page Controls Privileges     | 0.0          | 0.0          |
| User-defined Roles-Transaction Types Privileges | 0.0          | 0.0          |
| User-defined Roles-Widgets Privileges           | 0.0          | 0.0          |
| Linking single User to Multiple Roles           | 0.0          | 0.0          |
| VII) Mobile Application                         |              | 0.0          |
| Android Support                                 |              | 0.0          |
| iOS Support                                     |              | 0.0          |
| Dashboard                                       |              | 0.0          |
| Leads & Activities Recording                    |              | 0.0          |
| Expenses Recording                              |              | 0.0          |

## Output:


source: excel_file
label: subtitle