04-module-working-with-online-store/custom_library/helper.py [75:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        feature_name = f['FeatureName']
        string_feature_val = f['ValueAsString']
        feature_type = feature_types[feature_name]
        
        if feature_type == 'Integral':
            tmp_dict[f['FeatureName']] = int(string_feature_val)
        elif feature_type == 'Fractional':
            tmp_dict[f['FeatureName']] = float(string_feature_val)
        else:
            tmp_dict[f['FeatureName']] = string_feature_val

    return tmp_dict
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



utilities/feature_store_helper.py [818:829]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            feature_name = f['FeatureName']
            string_feature_val = f['ValueAsString']
            feature_type = feature_types[feature_name]

            if feature_type == 'Integral':
                tmp_dict[f['FeatureName']] = int(string_feature_val)
            elif feature_type == 'Fractional':
                tmp_dict[f['FeatureName']] = float(string_feature_val)
            else:
                tmp_dict[f['FeatureName']] = string_feature_val

        return tmp_dict
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



