047c1206650c6524075e6509809f9810f91548d4,src/read_csv.py,,bayesdb_read_csv,#Any#Any#Any#Any#Any#Any#,40

Before Change


            column_names = [unicode(name, "utf8").strip() for name in row]
            if len(column_names) == 0:
                raise IOError("No columns in CSV file!")
            if len(unique(map(casefold, column_names))) < len(column_names):
                raise IOError("Duplicate columns in CSV file.")
            if create and not core.bayesdb_has_table(bdb, table):
                qt = sqlite3_quote_name(table)

After Change


            column_names = [unicode(name, "utf8").strip() for name in row]
            if len(column_names) == 0:
                raise IOError("No columns in CSV file!")
            column_name_map = {}
            duplicates = set([])
            for name in column_names:
                name_folded = casefold(name)
                if name_folded in column_name_map:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: probcomp/bayeslite
Commit Name: 047c1206650c6524075e6509809f9810f91548d4
Time: 2015-08-25
Author: riastradh+probcomp@csail.mit.edu
File Name: src/read_csv.py
Class Name:
Method Name: bayesdb_read_csv


Project Name: PyMVPA/PyMVPA
Commit Name: eb4950c06f23adcbd73cb635fba86bac56276deb
Time: 2014-02-26
Author: michael.hanke@gmail.com
File Name: mvpa2/measures/rsa.py
Class Name: DissimilarityConsistencyMeasure
Method Name: _call


Project Name: probcomp/bayeslite
Commit Name: c17ec6faccf050596c0fb12dabda184183393aa1
Time: 2015-06-17
Author: riastradh+probcomp@csail.mit.edu
File Name: src/bqlfn.py
Class Name:
Method Name: correlation_anovar2