on(log, locals(), inspect.currentframe().f_code.co_name)
    if verbose:
        verbose_print(get_unique_wells, locals(), exclude_params=[&#39;df&#39;])
    #Get Unique well APIs
    uniqueWells = df[wellid_col].unique()
    wellsDF = pd.DataFrame(uniqueWells)
    if verbose:
        print(&#39;Number of unique wells: &#39;+str(wellsDF.shape[0]))
    wellsDF.columns = [&#39;UNIQUE_ID&#39;]
    
    return wellsDF

#Quickly sort dataframe
def sort_dataframe(df, sort_cols=[&#39;API_NUMBER&#39;,&#39;TOP&#39;]