I need help on list append. I have to export it into CSV with the respective list index.
lst1 = ['a', 'b', 'c']
lst2 = ['w', 'f', 'g']
lst3 = ['e', 'r', 't']
ap = []
ap.append((lst1, lst2, lst3))
output: [(['a', 'b', 'c'], ['w', 'f', 'g'], ['e', 'r', 't'])]
Expected output:
[('a', 'w', 'e')
('b', 'f', 'r')
('c', 'g', 't')]
I need to export to Excel via Pandas, please help.
col1 col2 col3
a w e
b f r
c g t