* The judge's partiality towards the defendant was evident in her rulings. (This sentence implies the judge was biased.)
* Despite her partiality for chocolate, she chose the vanilla ice cream. (This sentence implies she prefers chocolate, but chose something else.)
* The company's new policy is designed to eliminate partiality in hiring practices. (This sentence shows a desire to be fair.)
You can use "partiality" to describe bias, preference, or favoritism.