I have a pandas DataFrame set up like this:
Type time
A 0
A 1
A 2
B 0
B 1
B 2
I need to generate a list (or a Series) structured as follows:
["A.1-A.0", "A.2-A.0", "B.1"-"B.0", "B.2"-"B.0"]
Would groupby or similar functions would be able to generate such a list (or Series)?