&#39;CLASS_FLAG&#39;].sum()/df.shape[0])*100,2)
        recsRemainig = int(df.shape[0]-numRecsClass)

        print(&#39;Classified well records using any substring (wildcard) match&#39;)
        print(&#34;\t{} records classified using any substring match ({}% of unclassified  data)&#34;.format(numRecsClass, percRecsClass))
        print(&#39;\t{} records remain unclassified ({}% of unclassified  data).&#39;.format(recsRemainig, 1-percRecsClass))
    return df

#Merge data back together
def remerge_data(cl