I have a 2D numpy array of :
[[9.29526424407959, -3.68755626678467],
[9.7620153427124, -2.16865086555481],
[9.9980001449585, 0.199986666440964],
[9.95050621032715, 0.993697226047516],
[9.84010124206543, 1.78112530708313],
[9.43374633789063, 3.31729197502136],
[8.7891960144043, 4.76969909667969],
[8.38245868682861, 5.4529242515564],
[7.41290092468262, 6.71184778213501],
[6.85620975494385, 7.27958679199219],
[5.61658048629761, 8.27369403839111],
[4.23513603210449, 9.05889701843262],
[3.50201725959778, 9.36674308776855]]
I would need to add numbers at the start of it making it look like this.
[[1 ,9.29526424407959, -3.68755626678467],
[2, 9.7620153427124, -2.16865086555481],
[3, 9.9980001449585, 0.199986666440964],
[4, 9.95050621032715, 0.993697226047516],
[5, 9.84010124206543, 1.78112530708313],
[6, 9.43374633789063, 3.31729197502136],
[7, 8.7891960144043, 4.76969909667969],
.
.
.
I've tried converting it to list and adding numbers but it keeps coming out wrong.
Any suggestions?