I have a .txt file of the following format:
10101011
00101010
11001100
00101101
How do I read this directly as a dataframe of n (integer) columns? i.e.
0 1 2 3 4 5 6 7
0 1 0 1 0 1 0 1 1
1 0 0 1 0 1 0 1 0
2 1 1 0 0 1 1 0 0
3 0 0 1 0 1 1 0 1