def handle_missing_values(df, col_thresh, row_thresh):
    """
    Takes in a data frame and thresholds (0.0 - 1.0) for columns and rows and returns the data frame after dropping the rows and
    columns that are not populated at the specified threshold amounts.
    """
    req_col = int(round(col_thresh * len(df.index), 0))
    req_row = int(round(row_thresh * len(df.columns), 0))
    
    df = df.dropna(axis=1, thresh=req_col)
    df = df.dropna(axis=0, thresh=req_row)
    
    return df