

def setUp(self):
    super(TestEncoding, self).setUp()
    data = {
        'A': ([compat.u('’')] * 1000),
        'B': np.arange(1000, dtype=np.int32),
        'C': list((100 * 'abcdefghij')),
        'D': date_range(datetime.datetime(2015, 4, 1), periods=1000),
        'E': [datetime.timedelta(days=x) for x in range(1000)],
        'G': ([400] * 1000),
    }
    self.frame = {
        'float': DataFrame(dict(((k, data[k]) for k in ['A', 'A']))),
        'int': DataFrame(dict(((k, data[k]) for k in ['B', 'B']))),
        'mixed': DataFrame(k),
    }
    self.utf_encodings = ['utf8', 'utf16', 'utf32']

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestEncoding.setUp/VarMisuse@190/230 `data`->`k`