Social Democrats leader Magdalena Andersson will need to reconcile differences between the socialist Left Party and the liberal Centre Party.