def clean_borough(row : str) -> str:
    """
    Removes the trailing space afer some boroughs.
    
    :param: row (str): row in the the Pandas series
    :rvalue: string
    :returns: removed trailing space from the row
    """
    if row == 'Manhattan ':
        return 'Manhattan'
    elif row == 'Brooklyn ':
        return 'Brooklyn'
    else:
        return row