def fix_names_teams(df):
    """
    edits the dataframe's teamName and manager columns so we can save them our correctly
    

    Parameters
    ----------
    df : pandas dataframe
        contains teamName and manager columns.

    Returns
    -------
    df : pandas dataframe
        modified dataframe.

    """
    for idx, row in df.iterrows():
        manager = row['manager']
        team = row['teamName']
        newManager = ''
        newTeam = ''
        for char in manager:
            if char.isalnum() or char == ' ' or char == '-':
                newManager += char
        for char in team:
            if char.isalnum() or char == ' ' or char == '-':
                newTeam += char
        df.loc[idx, 'manager'] = newManager
        df.loc[idx, 'teamName'] = newTeam
    return df