daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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']=.... ???
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top