'Pretty-printing, esp. for Nose output'

def __repr__(self):

    if np.any(list(map(np.iscomplexobj, self.param_columns))):
        is_complex = '    (complex)'
    else:
        is_complex = ''
    if self.dataname:
        return ('<Data    for    %s%s:    %s>' % (self.func.__name__, is_complex, os.path.basename(self.dataname)))
    else:
        return ('<Data    for    %s%s>' % (self.func.__name__, is_complex))
