Posts by Uil • 31 points
1 post
-
3
votes0
answers40
viewsQ: Create lines from the index of a Python series or dataframe
I created this dataframe: x = [1,3,5,8,10,15,4,5,6,8,23,12,28] x = pd.DataFrame(x) I created the following dataframe: I created a new dataframe with the following code: z = [] for i in…