Python Pandas Convert Object To Interface