Would really love to get some help here
I have the below data
| Country | Industry | Data X | Data Y | Data Z |
|---|---|---|---|---|
| Singapore | Car | 2 | 5 | 8 |
| Singapore | Bike | 3 | 6 | 9 |
| Malaysia | Pastries | 5 | 7 | 10 |
I wish to update my slides with 'This slide contains data for [Country] in [Industry] and another part of the slide includes a chart to include the values for Data X,Y and Z
instead of looping as follows: for country, industry, X, Y, Z in df[["country_name", "industry_group_name","X" , "Y", "Z"]].values.tolist():
is there a way to capture all the individual row data in a list to update without having to mention each column names for eg X, Y, Z......
hope this isnt too confusing!