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:
| correction      | misspell                           |
|:----------------|:-----------------------------------|
| Nevada          | nevade                             |
| Presbyterian    | presbyterian                       |
| RSX             | rsx                                |
| Stephen         | Steffen                            |
| Susan           | susan                              |
| ability         | abilitey                           |
| about           | abouy                              |
| absorption      | absorbtion                         |
| accidentally    | accidently                         |
| accommodate     | accomodate, acommadate             |
| accord          | acord                              |
| acquaintance    | aquantance                         |
| acquire         | equire                             |
| adultery        | adultry                            |
| aggressive      | aggresive                          |
| alcohol         | alchohol                           |
| alcoholic       | alchoholic                         |
| alive           | allieve                            |
| all_right       | alright                            |
| amateur         | amature                            |
| ambivalent      | ambivilant                         |
| amorphous       | amourfous                          |
| amplification   | amification                        |
| anatomy         | anonomy, anotomy                   |
| announce        | annuncio                           |
| announcement    | annonsment                         |
| anoint          | annoint                            |
| anonymous       | anynomous                          |
| appreciate      | appresteate                        |
| appreciated     | appreceiated                       |
| archetype       | archeype                           |
| architecture    | aratictature, aricticure           |
| arctic          | artic                              |
| asterisk        | asterick                           |
| asymmetric      | asymetric                          |
| asymptote       | asentote                           |
| at              | ast                                |
| attentively     | atentively                         |
| automatically   | autoamlly                          |
| bankrupt        | bankrot                            |
| basically       | basicly                            |
| battalion       | batallion                          |
| beginning       | beggining, beging, bigginging      |
| behavior        | behaviour                          |
| behaviour       | behavior                           |
| believe         | beleive, belive                    |
| benefits        | benidifs                           |
| better          | metter                             |
| bleat           | blait                              |
| boycott         | boygot                             |
| broccoli        | brocolli                           |
| browse          | bbrose                             |
| buoyant         | bouyant                            |
| bureau          | beauro                             |
| bureaucracy     | beaurocracy, buracracy, burracracy |
| bush            | buch                               |
| butter          | buder, budr, budter                |
| button          | buton                              |
| by_by           | byby                               |
| caller          | cauler                             |
| came            | gamne                              |
| caveats         | cravets                            |
| cemetery        | cemetary                           |
| changing        | changeing                          |
| cheat           | cheet                              |
| circle          | cicle, circue                      |
| circumstances   | circumstaces                       |
| club            | clob                               |
| cockamamie      | cocamena                           |
| colleague       | colleaque                          |
| colloquialism   | colloquilism                       |
| colon           | coaln                              |
| column          | columne                            |
| combo           | cumba                              |
| commercials     | commerciasl                        |
| commitment      | comitmment, comittmen, comittmend  |
| committed       | commited                           |
| committee       | comitte, commitee                  |
| companies       | companys                           |
| compiler        | comiler                            |
| complicated     | compicated                         |
| computer        | comupter                           |
| congratulations | congradulations                    |
| consensus       | concensus                          |
| consistent      | consident                          |
| consonant       | consident                          |
| constant        | contast, contastant                |
| continue        | contunie                           |
| contribution    | conibation                         |
| coolly          | cooly                              |
| coping          | copping                            |
| cosmopolitan    | cosmoplyton                        |
| court           | courst                             |
| crazy           | crasy                              |
| credibility     | credetability                      |
| critique        | criqitue, ctitique                 |
| croak           | croke                              |
| crucified       | crusifed                           |
| crucifixion     | crucifiction                       |
| customization   | custamisation                      |

## Output:


source: notebook
label: explode