

def test_numpy_scalar_float(self):
    x = np.float32(np.random.rand())
    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_scalar_float/original