Question: I have multiple tags for a scenario and trying to execute the scenario with Cypress run -env TAGS command and it is not working using Cypress-Cucumber-Preprocess.

@Tag1 @Tag2 @Tag3
Scenario : First Scenario

@Tag1 @Tag2 @Tag3 @Tag4
Scenario : Second Scenario

cypress run -e TAGS='@Tag4' - not working

Both the scenarios will open in testrunner and the test runner freezes.

Answer: 
Consider the following code which will produce the output you want:

```
import pandas as pd

response =  [
    {'duration': 0, 
     'phase': 
        {
            'name': 'Start form'
        }
    }, 
    {'duration': 441, 
     'phase': 
        {
            'name': 'Análise do SAC - Mesas'
        }
    }, 
    {'duration': 126057, 
     'phase': 
        {
            'name': 'Análise do SAC - Industrial'
        }
    }
 ]

data = {}
for obj in response:
    data[obj["phase"]["name"]] = [obj["duration"]]

df = pd.DataFrame(data)
print(df.to_string(index=False))

```
Use:

```
df = pd.json_normalize(l)
df = df.set_index('phase.name').T.reset_index(drop=True)

```

`OUTPUT`

```
phase.name  Start form  Análise do SAC - Mesas  Análise do SAC - Industrial
0                    0                     441                       126057

```

If want to rename axis you can then use:

```
df.rename_axis(None, axis=1, inplace=True)

```

`OUTPUT`

```
   Start form  Análise do SAC - Mesas  Análise do SAC - Industrial
0           0                     441                       126057

```