def read_csv(csvfile,verbose=True):
    dataframe = pd.read_csv(csvfile,header=0)
    labels = dataframe[u'label'].tolist()
    if verbose:
        print('Read CSV with columns %s'%str(dataframe.columns))
    dataframe.drop(u'label',inplace=True,axis=1)
    if u'Unnamed: 0' in dataframe.columns:
        dataframe.drop(u'Unnamed: 0',inplace=True,axis=1)
    feature_matrix = dataframe.as_matrix()
    feature_names = dataframe.columns
    return feature_matrix,labels,feature_names
dataset/ETHPy150Open andreykurenkov/emailinsight/pyScripts/kerasClassify.py/read_csv/original