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:
| Rozliczenie zwykłego kredytu hipo.   | Opcja 0   | Opcja 1            | Opcja 2            | Opcja 3            | Opcja 4            |
|:-------------------------------------|:----------|:-------------------|:-------------------|:-------------------|:-------------------|
| Odsetki lata 0-2                     | 25962.62  | 25962.62           | 25962.62           | 25962.62           | 25962.62           |
| Odsetki lata 3-8                     | 56461.26  | 56461.26           | 28960.89           | 56461.26           | 43440.71           |
| Odsetki lata 9-18                    | 43336.95  | 43336.95           | 3139.83            | 8838.9             | 5733.17            |
| SUMA kosztów odsetek                 | 125760.83 | 125760.83          | 58063.34           | 91262.78           | 75136.5            |
| Całkowita wartość kredytu            | 333727.83 | 333727.83          | 266030.33999999997 | 299229.78000000003 | 283103.5           |
| Przychody z lokaty 72 000 zł         | 0         | 63895.74           | 0                  | 19366.080000000002 | 0                  |
| Termin spłaty kredytu                | 18 lat    | 18 lat             | 11,5 roku          | 13,5 roku          | 12,5 roku          |
| Koszt po uwzględnieniu przychodów    | 333727.83 | 269832.09000000003 | 266030.33999999997 | 279863.7           | 283103.5           |
| Marcin oszczędza                     | 0         | 63895.739999999991 | 67697.490000000049 | 53864.130000000005 | 50624.330000000016 |

## Output:


source: excel_file
label: operator: transpose
operator: stack
stack_start_idx: 1
stack_end_idx: 3