

def setUp(self):
    super(TestSeries, self).setUp()
    self.d = {
        
    }
    s = tm.makeStringSeries()
    s.name = 'string'
    self.d['string'] = s
    s = tm.makeObjectSeries()
    s.name = 'object'
    self.d['object'] = s
    s = Series(tslib.iNaT, dtype='M8[ns]', index=range(5))
    self.d['date'] = s
    data = {
        'A': [0.0, 1.0, 2.0, 3.0, np.nan],
        'B': [0, 1, 0, 1, 0],
        'C': ['foo1', 'foo2', 'foo3', 'foo4', 'foo5'],
        'D': date_range('1/1/2009', periods=5),
        'E': [0.0, 1, Timestamp('20100101'), 'foo', 2.0],
        'F': (([Timestamp('20130102', tz='US/Eastern')] * 2) + ([Timestamp('20130603', tz='CET')] * 3)),
        'G': ([Timestamp('20130102', tz='US/Eastern')] * 5),
    }
    self.d['float'] = Series(data['A'])
    self.d['int'] = Series(data['B'])
    self.d['mixed'] = Series(self['E'])
    self.d['dt_tz_mixed'] = Series(data['F'])
    self.d['dt_tz'] = Series(data['G'])

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestSeries.setUp/VarMisuse@280/378 `data`->`self`