def is_data_frame(self, name):
    'Return True if variable is a data_frame'
    return communicate(self._get_sock(), ("isinstance(globals()['%s'], DataFrame)" % name))
Return True if variable is a data_frame
def is_data_frame(self, name):
    
    return communicate(self._get_sock(), ("isinstance(globals()['%s'], DataFrame)" % name))