e8dbb918a8ec454320bedb6d6c8e97009b2ddf68,california_housing/feature_engineering.py,,,#,135

Before Change


x = vincenty(newport_ri, cleveland_oh)
x //distance stored in km, see units on printing
print(x)
type(x.kilometers)



After Change


	//also the nearest city with 1million people (subset the original dict)

city_pop_dict = {}
for dat in city_pop_data.iterrows():
    row = dat[1]
    city_pop_dict[row["City"]] =  row["pop_april_1990"]


big_cities = {}

for key, value in city_coords.items():
    if city_pop_dict[key] > 500000:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: CNuge/kaggle-code
Commit Name: e8dbb918a8ec454320bedb6d6c8e97009b2ddf68
Time: 2018-01-10
Author: nugentc@uoguelph.ca
File Name: california_housing/feature_engineering.py
Class Name:
Method Name:


Project Name: flow-project/flow
Commit Name: 9816dc6e8e011dd62cbefa9ce93ffa034d4ea5ff
Time: 2019-05-08
Author: akreidieh@gmail.com
File Name: flow/scenarios/base_scenario.py
Class Name: Scenario
Method Name: _vehicle_infos


Project Name: pantsbuild/pants
Commit Name: 40c214aa1c044a02b5290aa3ec7cc9570dbe24ad
Time: 2016-11-06
Author: stuhood@gmail.com
File Name: src/python/pants/engine/legacy/graph.py
Class Name: LegacyBuildGraph
Method Name: _index


Project Name: deeptools/HiCExplorer
Commit Name: e8a8edec508fcf886d5c6329ff0729b1cff845e8
Time: 2018-09-04
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/utilities.py
Class Name:
Method Name: exp_obs_matrix_norm