I have the csv file looks like this:
im1000100101 0
im1011100101 1
The first column is pixels value of images and second column is the class of that image. How can I use pd.read_csv() to save the each pixel in a separate column. I want to my DataFrame looks like this:
px-1 px-2 px-3 px-4 px-5 px-6 px-7 px-8 px-9 px-10 label
1 0 0 0 1 0 0 1 0 1 0
1 0 1 1 1 0 0 1 0 1 1