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:
| Volume    | Release Date       | Season/Box Set   | Episodes        |
|:----------|:-------------------|:-----------------|:----------------|
| Volume 1  | June 10, 2008      | Season 1         | 1–4             |
| Volume 2  | June 10, 2008      | Season 1         | 5–8             |
| Volume 3  | June 10, 2008      | Season 1         | 9–12            |
| Volume 4  | June 10, 2008      | Season 1         | 13–16           |
| Volume 5  | June 10, 2008      | Season 1         | 17–20           |
| Volume 6  | August 19, 2008    | Season 2         | 21–24           |
| Volume 7  | August 19, 2008    | Season 2         | 25–28           |
| Volume 8  | August 19, 2008    | Season 2         | 29–32           |
| Volume 9  | August 19, 2008    | Season 2         | 33–36           |
| Volume 10 | August 19, 2008    | Season 2         | 37–41           |
| Volume 11 | July 7, 2009       | Season 3         | 42–45           |
| Volume 12 | July 7, 2009       | Season 3         | 46–49           |
| Volume 13 | July 7, 2009       | Season 3         | 50–53           |
| Volume 14 | July 7, 2009       | Season 3         | 54–58           |
| Volume 15 | July 7, 2009       | Season 3         | 59–63           |
| Volume 16 | November 3, 2009   | Season 4 Part 1  | 64–67           |
| Volume 17 | November 3, 2009   | Season 4 Part 1  | 68–71           |
| Volume 18 | November 3, 2009   | Season 4 Part 1  | 72–75           |
| Volume 19 | November 3, 2009   | Season 4 Part 1  | 76–79           |
| Volume 20 | February 16, 2010  | Season 4 Part 2  | 80–83           |
| Volume 21 | February 16, 2010  | Season 4 Part 2  | 84–87           |
| Volume 22 | February 16, 2010  | Season 4 Part 2  | 88–91           |
| Volume 23 | June 8, 2010       | Season 5         | 92–95           |
| Volume 24 | June 8, 2010       | Season 5         | 96–99           |
| Volume 25 | June 8, 2010       | Season 5         | 100–104         |
| Volume 26 | June 8, 2010       | Season 5         | 105–109         |
| Volume 27 | September 28, 2010 | Box Set 6        | 110–113         |
| Volume 28 | September 28, 2010 | Box Set 6        | 114–117         |
| Volume 29 | September 28, 2010 | Box Set 6        | 118–121         |
| Volume 30 | December 21, 2010  | Box Set 7        | 122–133 134–145 |
| Volume 31 | December 21, 2010  | Box Set 7        | 122–133 134–145 |
| Volume 32 | March 22, 2011     | Box Set 8        | 122–133 134–145 |
|           | June 21, 2011      | Box Set 9        | 146–156         |
|           | September 6, 2011  | Box Set 10       | 157–167         |
|           | December 13, 2011  | Box Set 11       | 168–179         |
|           | March 13, 2012     | Box Set 12       | 180–193         |
|           | June 12, 2012      | Box Set 13       | 194–205         |
|           | September 11, 2012 | Box Set 14       | 206–217         |
|           | December 11, 2012  | Box Set 15       | 218–229         |
|           | March 12, 2013     | Box Set 16       | 230–242         |
|           | June 11, 2013      | Box Set 17       | 243–255         |
|           | September 10, 2013 | Box Set 18       | 256–267         |
|           | December 10, 2013  | Box Set 19       | 268–279         |
|           | March 18, 2014     | Box Set 20       | 280–291         |
|           | June 3, 2014       | Box Set 21       | 292–303         |
|           | September 30, 2014 | Box Set 22       | 304–316         |
|           | December 16, 2014  | Box Set 23       | 317–329         |
|           | March 17, 2015     | Box Set 24       | 330–342         |
|           | June 23, 2015      | Box Set 25       | 343–354         |
|           | September 29, 2015 | Box Set 26       | 355–366         |

## Output:


source: web
label: ffill