def remove_tmp_columns(frame):
    """Remove any columns in a data frame that begin with 'tmp.'."""
    drop_cols = [col for col in frame.columns if col.startswith("tmp.")]
    if len(drop_cols) != 0:
        return frame.drop(drop_cols, axis=1)
    return frame