def normalize_feature_sets(feature_sets):

    print "Normalizing features..."
    t1 = time.time()

    new_feature_sets = {}
    for set in feature_sets:
         new_feature_sets[set] = normalize_features(feature_sets[set],axis=0)
         if np.any(np.isnan(new_feature_sets[set].values)):
             raise Exception("found Nan feature values in set=%s" % set)
         assert new_feature_sets[set].shape[1] > 0, "0 columns of features"
    t2 = time.time()
    print "\t\tElapsed time for normalizing features is %.2f seconds" % (t2-t1)

    return new_feature_sets
How many retries to attempt on the transaction.
dataset/ETHPy150Open MicrosoftResearch/Azimuth/azimuth/features/featurization.py/normalize_feature_sets--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/datastore/datastore_rpc.py/TransactionOptions.retries