Python passing variable inside tablecells

Dear Friends:

MyScript:
cells= driver.find_elements_by_class_name(“UIATableCell”)
el=driver.find_element_by_xpath("//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[cells]/UIAButton[1]")
driver.execute_script(“mobile: scrollTo”, {“element”: el.id})

It doesn’t work.how to pass variables inside tablecell in ios real device?

my environment:xcode:6.3 appium 1.3.7 OSX:10.9.5