pandas class structure changed

for pandas version 0.14.1