I have 2 data frames I want to merge based on the column name
. The name column in one df has abbreviated versions while the name column in the other df has the full name. what is the most efficient way to change the column names to match each other?
df1[names] = ["Man Utd", "Man City", "Chelsea", "Liverpool", "Spurs", "Arsenal"]
df2[names] = ["Manchester United", "Manchester City", "Chelsea FC", "Liverpool FC", "Tottenham Hotspurs", "Arsenal FC"]