80ab5f2eb06c8023c6ba4b62c054ff04369913f8,tests/integration_tests/flows/test_mongo.py,MongoTest,setUpClass,#Any#,33

Before Change


                            number_of_bathrooms=int(row[1]),
                            sqft=int(float(row[2].replace(",", "."))),
                            location=str(row[3]),
                            days_on_market=int(row[4]),
                            initial_price=int(row[5]),
                            neighborhood=str(row[6]),
                            rental_price=int(float(row[7]))

After Change


                for i, row in enumerate(csvf):
                    if i == 0:
                        continue
                    data.append({
                        column[0]: column[1](row[i])
                        for i, column in enumerate(DS)
                    })
                db[TEST_DATASET].insert_many(data)
            print("done")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mindsdb/mindsdb
Commit Name: 80ab5f2eb06c8023c6ba4b62c054ff04369913f8
Time: 2020-11-12
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mongo.py
Class Name: MongoTest
Method Name: setUpClass


Project Name: rtavenar/tslearn
Commit Name: ca5aabfc974b19addc0db986b8568d6b6ac7b68d
Time: 2020-05-04
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/shapelets.py
Class Name: ShapeletModel
Method Name: fit


Project Name: tensorflow/datasets
Commit Name: c28a63fa9d9fb9ba3cced7052ea243e8884f9bf1
Time: 2019-11-21
Author: supertux90@googlemail.com
File Name: tensorflow_datasets/image/deep_weeds.py
Class Name: DeepWeeds
Method Name: _generate_examples