Googling While Coding – 2 : Parsing CSV file, extracting some URLs, and downloading images

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:

  1. “write pandas dataframe to file”
  2. “split pandas column and get last column”
  3. “merge 2 dataframes pandas”
  4. “iterate over pandas dataframe rows”
  5. “python download image from url”
  6. “python write tab delimited file”

Some additional stuff since I wanted to work with only 1% of the data I had.

  1. “python get random number in range”