I have 2 pandas series that look like this:
import pandas as pd
listA = [5,4,3]
listB = ["a","b","c"]
s = pd.Series(listA)
print(s)
p = pd.Series(listB)
print(p)
And I would like to obtain a list of the 2 lists mixed together as strings like this:
listTogether = ["a5","a4","a3","b5","b4","b3","c5","c4","c3"]
t = pd.Series(listTogether)
print(t)
Do you have any hint? Is it possible to do by avoiding loops?
Thanks so much in advance for the help
zipand a comprehension/map.