import csv


def read_csv(filename):
	""" Function that reads csv data and returns data in an array

		INPUTS:
			filename (str): name of csv file to be read

		OUTPUTS:
			data (list): csv data

	"""
	with open(filename,'r') as dest_f:
		data_iter = csv.reader(dest_f, delimiter = ',',  quotechar = '"')
		data = [data for data in data_iter]

	return data