Como adicionar cabeçalhos de coluna em pandas

#suppose team is a df that has unnamed columns (0,1...)
team.columns =['Name', 'Code', 'Age', 'Weight'] 
Captainspockears