Allows set_index() to take an Index as an argument (#10797)
Simple change, closes #10797 

this needs some tests. 
 @michaelbilow can you add a test / whatsnew note 
 closing, but if you'd like to update, pls reopen
