Created
April 26, 2016 22:54
-
-
Save ferreiro/a20be3cb34cf259f2e49928944d8fc75 to your computer and use it in GitHub Desktop.
Script para mi charla donde extraigo emails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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