93f52ab0dab6f3eabec3d46aa489ab391f0e9e03,geocoder/custom-recipes/forward_geocoding/recipe.py,,,#,108

Before Change



                        address = row[config["address_column"]]
                        try:
                            if not config["smart_compute"] or all([is_empty(row[config[c]]) for c in ["latitude", "longitude"]]):
                                res = cache[address]
                            else:
                                res = [row[config[c]] for c in ["latitude", "longitude"]]

After Change



                        address = row[config["address_column"]]
                        try:
                            if any([is_empty(row[config[c]]) for c in ["latitude", "longitude"]]):
                                res = cache[address]
                            else:
                                res = [row[config[c]] for c in ["latitude", "longitude"]]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: dataiku/dataiku-contrib
Commit Name: 93f52ab0dab6f3eabec3d46aa489ab391f0e9e03
Time: 2018-03-13
Author: thomas.labadie@gmail.com
File Name: geocoder/custom-recipes/forward_geocoding/recipe.py
Class Name:
Method Name:


Project Name: dataiku/dataiku-contrib
Commit Name: 93f52ab0dab6f3eabec3d46aa489ab391f0e9e03
Time: 2018-03-13
Author: thomas.labadie@gmail.com
File Name: geocoder/custom-recipes/forward_geocoding/recipe.py
Class Name:
Method Name: perform_geocode


Project Name: dataiku/dataiku-contrib
Commit Name: 93f52ab0dab6f3eabec3d46aa489ab391f0e9e03
Time: 2018-03-13
Author: thomas.labadie@gmail.com
File Name: geocoder/custom-recipes/reverse_geocoding/recipe.py
Class Name:
Method Name:


Project Name: dataiku/dataiku-contrib
Commit Name: 93f52ab0dab6f3eabec3d46aa489ab391f0e9e03
Time: 2018-03-13
Author: thomas.labadie@gmail.com
File Name: geocoder/custom-recipes/reverse_geocoding/recipe.py
Class Name:
Method Name: perform_geocode