Skip to content

Instantly share code, notes, and snippets.

@ferreiro
Created April 26, 2016 22:54
Show Gist options
  • Save ferreiro/a20be3cb34cf259f2e49928944d8fc75 to your computer and use it in GitHub Desktop.
Save ferreiro/a20be3cb34cf259f2e49928944d8fc75 to your computer and use it in GitHub Desktop.
Script para mi charla donde extraigo emails
import pandas as pd
import numpy as np
import csv as csv
# Filesname
output_file = 'emails.txt'
file_descriptor = open(output_file, 'w')
df = pd.read_csv('registers.csv', header=0) # Load the test file into a dataframe
df = df.drop(["#","name","experience","start","submit","network"], axis=1)
emails = df.values
for e in emails:
file_descriptor.write(e[0] + ", ")
file_descriptor.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment