def write_csv(csvfile, feature_matrix, labels,feature_names=None, verbose=True):
    dataframe = pd.DataFrame(data=feature_matrix,columns=feature_names)
    dataframe['label'] = labels
    dataframe.to_csv(csvfile)
    if verbose:
        print((str(dataframe.columns),csvfile)%'Wrote CSV with columns %s to %s')
dataset/ETHPy150Open andreykurenkov/emailinsight/pyScripts/kerasClassify.py/write_csv/swapped operands of `%`