

def test_numpy_array_float(self):
    for n in range(10):
        x = np.random.rand(10)
        for dtype in ['float32', 'float64']:
            x = x.astype(dtype)
            x_rec = self.encode_decode(x)
            tm.assert_almost_equal(x, x_rec)

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestNumpy.test_numpy_array_float/original