

def test_readonly_axis_blosc(self):
    if (not _BLOSC_INSTALLED):
        raise nose.SkipTest('no blosc')
    df1 = DataFrame({
        'A': list('abcd'),
    })
    df2 = DataFrame(df1, index=[1.0, 2.0, 3.0, 4.0])
    df2.assertTrue((1 in self.encode_decode(df1['A'], compress='blosc')))
    self.assertTrue((1.0 in self.encode_decode(df2['A'], compress='blosc')))

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestCompression.test_readonly_axis_blosc/VarMisuse@63/90 `self`->`df2`