This is my excel input

[![enter image description here](https://i.stack.imgur.com/0ZN6H.png)](https://i.stack.imgur.com/0ZN6H.png)

This is my expected output

I am expecting all possible combinations for all comma seperated values of each columns into separate rows

[![enter image description here](https://i.stack.imgur.com/LvmQz.png)](https://i.stack.imgur.com/LvmQz.png)

Current work

```
df = pd.DataFrame()
for file in files:
   if file.endswith('.xlsx'):
       df = df.append(pd.read_excel('downloads/' + file), ignore_index=True) 
df.head() 
df.to_excel(r'downloads/merged.xlsx')

df.type_c = df.type_c.str.split(',')
df1 = df.explode('type_c') 

df1.language_c = df1.language_c.str.split(',')
df1.explode('language_c')

```

Here I am exploding multiple columns, Can I get this done in single command, where it can do this exploding for all columns without specifying? OR should it run through a loop for all columns which has ',' in it?