I recently had a curious problem of parsing a CSV file, extracting some URLs, and downloading the image to my machine etc.
Anyway, I think it would be instructive to list the google searches involved in coming up with the final code:
- “write pandas dataframe to file”
- “split pandas column and get last column”
- “merge 2 dataframes pandas”
- “iterate over pandas dataframe rows”
- “python download image from url”
- “python write tab delimited file”
Some additional stuff since I wanted to work with only 1% of the data I had.
- “python get random number in range”