problems in changing sign becasue the dataframe included characters

Changed home A --> 1, away B -->2