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:
| Month     | Day   | Time        | Specifics                                                      |
|:----------|:------|:------------|:---------------------------------------------------------------|
| August    | 0     | 6pm         | First Day of School/Parent Information session for grades 7-12 |
| September | 1     | 0           | 0                                                              |
|           | 2     | 1           | 1                                                              |
|           | 3     | 1           | 1                                                              |
|           | 4     | 1           | Safe Environment for All (7-12): Circle of Grace               |
| October   | 5     | 0           | 0                                                              |
|           | 6     | 1           | 1                                                              |
|           | 7     | 1           | Pray outside the Abortion Facility in Fargo                    |
|           | 8     | 1           | 1                                                              |
| November  | 1st   | 0.770833333 | Liturgy for All; All Saints Day Mass                           |
|           | 8th   | 1           | 1                                                              |
|           | 15th  | 1           | 1                                                              |
|           | 22nd  | 1           | No School/CYO: Thanksgiving                                    |
|           | 29th  | 1           | 1                                                              |
| December  | 1     | 0           | 0                                                              |
|           | 2     | 1           | 2                                                              |
|           | 3     | 1           | 3                                                              |
|           | 4     | 1           | 3                                                              |
|           | 30th  | TBA         | Youth Event: Skiing                                            |
| January   | 3rd   | 0           | 0                                                              |
|           | 10th  | 1           | 1                                                              |
|           | 17th  | 1           | Service for All (7-12): Spaghetti Supper                       |
|           | 24th  | 1           | 1                                                              |
|           | 31st  | 1           | 1                                                              |
| February  | 9     | 0           | 0                                                              |
|           | 10    | 0.770833333 | Liturgy for All; Ash Wednesday                                 |
|           | 11    | 1           | 1                                                              |
|           | 12    | 1           | 1                                                              |
| March     | 9     | 0           | 0                                                              |
|           | 10    | 1           | 2                                                              |
|           | 11    | 1           | 1                                                              |
|           | 12    | 1           | Stations of the Cross                                          |
| April     | 5     | 0           | 0                                                              |
|           | 6     | 1           | 1                                                              |
|           | 7     | 1           | 1                                                              |
|           | 8     | 1           | 1                                                              |
| May       | 2nd   | 0           | 0                                                              |
|           | 9th   | 1           | Social for all: Softball                                       |
|           | 16th  | 1           | Baccalaureate                                                  |
|           | 0     |             | Last Day of School                                             |
|           | 4     | 2:30pm      | High School Graduation at VCHS                                 |

## Output:


source: excel_file
label: ffill