code class="python">def split_defined(df, classification_col=&#39;CLASS_FLAG&#39;, verbose=False, log=False):
    &#34;&#34;&#34;Function to split dataframe with well descriptions into two dataframes based on whether a row has been classified.

    Parameters
    ----------
    df : pandas.DataFrame
        Dataframe containing all the well descriptions
    classification_col : str, default = &#39;CLASS_FLAG&#39;
        Name of column containing the classification flag, by default &#39;CLASS_FLAG&#39;
    