(schema)
return feature_name_fid_mapping
generate {idx: feature_name} mapping
generate {idx: feature_name} mapping
generate { idx : feature_name } mapping
def gen_feature_fid_mapping(schema):
        """
        generate {idx: feature_name} mapping
        """
        header = schema.get("header")
        feature_name_fid_mapping = dict(zip(range(len(header)), header))
        LOGGER.debug("fid_mapping is {}".format(feature_name_fid_mapping))
        return feature_name_fid_mapping
def gen_feature_fid_mapping ( schema ) : header = schema . get ( "header" ) feature_name_fid_mapping = dict ( zip ( range ( len ( header ) ) , header ) ) LOGGER . debug ( "fid_mapping is {}" . format ( feature_name_fid_mapping ) ) return feature_name_fid_mapping