3c626088a7174c28d1b1a093143c4ca7b2b154fc,src/fetch_yelp_info.py,,,#,64

Before Change


companies_trade_names = companies_w_meal_expense.trade_name.dropna()
companies_zip_code = companies_w_meal_expense.zip_code.dropna()

fetched_companies = []

for _, company in remaining_companies(companies()).iterrows():
    print("Fetching %s - CNPJ: %s" % (company["trade_name"], company["zip_code"]))
    fetched_company = fetch_yelp_info(company["trade_name"], company["zip_code"])

After Change


    else:
        print("Not found")

fetched_companies.to_csv(YELP_DATASET_PATH, compression="xz", index=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 3c626088a7174c28d1b1a093143c4ca7b2b154fc
Time: 2016-11-25
Author: iirineu@gmail.com
File Name: src/fetch_yelp_info.py
Class Name:
Method Name:


Project Name: osmr/imgclsmob
Commit Name: 2eb844885d5b810cc93968f4965c58eb96e86d58
Time: 2020-12-28
Author: osemery@gmail.com
File Name: prep_model.py
Class Name:
Method Name: main


Project Name: gyoisamurai/GyoiThon
Commit Name: 78b56b5b833d7ae74853c2809058848681520a80
Time: 2019-12-11
Author: gyoiler3@gmail.com
File Name: report_merger.py
Class Name: MergeReport
Method Name: get_target_report