a = np.random.randint(0, 256, (10, 10)).astype('uint8')
b = pd.DataFrame(a)
c = StringIO()
b.to_csv(c, delimiter=' ', header=False, index=False)
next(c)
pandas unable to read from large StringIO object