Given the following DataFrame:
t
0 3
1 5
I would like to create a new column where wach entry is a list which is a function of the row it is in. In particular it should have a list with all positive integers which not greater than the entry in column t. So the output should be:
t newCol
0 3 [1,2,3]
1 5 [1,2,3,4,5]
In other words, I want to apply list(range(1,t+1)) to each row. I know how to do it in a loop, but have a long DataFrame, so I am looking for speed. Thank you.

df['newCol'] = df.t.map(np.arange) + 1