# * _*_ coding:utf-8 _*___author__:'denny 20170730'from functools import reduceimport functoolsimport pandas as pd #create dataframe#df method#partial#dir,hasattr,setattr,getarrt def createdf(): df = pd.DataFrame( {'a':[1,2,3], 'b':[4,5,6], 'c':[7,8,…