rps_df[target_col].fillna(value=-2, inplace=True)
        targinterps_df[target_col].astype(np.int8)

    df_targ = pd.merge(well_data_df, targinterps_df.set_index(interp_col), right_on=interp_col, left_on=&#39;LITHOLOGY&#39;, how=&#39;left&#39;)
    
    return df_targ

#Function to get unique wells
def get_unique_wells(df, wellid_col=&#39;API_NUMBER&#39;, verbose=False, log=False):
    &#34;&#34;&#34;Gets unique wells as a dataframe based on a given column name.

    Parameters
    ----------
    df : pan