Guest User

Untitled

a guest
Jan 11th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import pandas as pd
  2. df = pd.DataFrame({'return':[10, 28, 32, 50, 25]})
  3.  
  4. return index
  5. 0 25
  6. 1 28
  7. 2 32 128
  8. 3 50 200
  9. 4 25 100
  10.  
  11. df['index']=.... ???
Add Comment
Please, Sign In to add comment