Great answers so far.
Learn a scripting language.
Any scripting language.
One way of doing what you want in Python:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import csv
def main():
FIN = 'in.csv'
with open(FIN, 'r') as fin:
col_name_reader = csv.reader(fin)
# assuming the first line of your csv file has column names
col_names = col_name_reader.next()
csv_dict_reader = csv.DictReader(fin, col_names)
uniq_events = set(tuple((row['event'], row['venue'], row['date'])
for row in csv_dict_reader))
print uniq_events
if __name__ == "__main__":
main()
Using a test file populated as follows:
event,venue,date
an_event,a_venue,2010-01-01
an_event,a_venue,2010-01-01
an_event,a_venue,2010-01-01
another_event,another_venue,2010-01-02
another_event,another_venue,2010-01-02
We get:
set([('an_event', 'a_venue', '2010-01-01'),
('another_event', 'another_venue', '2010-01-02')])
Best of luck!