def eye_cleanup(input_frame):
    """
    Removes rows from a DataFrame based on predetermined indicators of extraneous data, or an indicator that the row represents unwanted practice data.
    """
    f=input_frame
    f=f[f['facekeypressed']!='.']
    f=f[f['practice'].astype(int)>2]
    return f