transform

How can I transform csv data in python

How can I transform csv data in python Question: I have a csv file that I want to transform. Currently the data looks like this in the csv file 115776 1142 1523 20197 20394 3421 1284 9572 19682 but I want it to look like this 115776 1142 115776 1523 115776 20197 115776 20394 115776 …

Total answers: 2

PIL: enlarge an image

PIL: enlarge an image Question: I’m having trouble getting PIL to enlarge an image. Large images get scaled down just fine, but small images won’t get bigger. # get the ratio of the change in height of this image using the # by dividing the height of the first image s = h / float(image.size[1]) …

Total answers: 2