d5b67dee6fe4630c79424deb87f587f616eba02d,src/fetch_yelp_info.py,,,#,84

Before Change


    else:
        print("Not found")

fetched_companies.to_csv(YELP_DATASET_PATH, compression="xz", index=False)

After Change



    if (index % 100) == 0 and index > 0:
      print("//////////////////////////////////////////////////////////////////////////////////////")
      print("%s requests made. Stopping to save." % index)
      write_fetched_companies(fetched_companies)
      print("//////////////////////////////////////////////////////////////////////////////////////")

  write_fetched_companies(fetched_companies)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: d5b67dee6fe4630c79424deb87f587f616eba02d
Time: 2016-11-26
Author: filipelinhares@outlook.com
File Name: src/fetch_yelp_info.py
Class Name:
Method Name:


Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: 962d656e0063a5ef9c0d6463e168d5ef1914ff56
Time: 2018-03-26
Author: f4bio.ferreira@gmail.com
File Name: cde/utils/io.py
Class Name:
Method Name: append_result_to_csv


Project Name: deepchem/deepchem
Commit Name: 2350e18231a67fa9d795fe7a16919b344a4b4ce5
Time: 2017-02-05
Author: bharath.ramsundar@gmail.com
File Name: examples/factors/FACTORS_correlations.py
Class Name:
Method Name: