fix: Improve Series.replace for dict input
#907
Merged
E5E8
Series.replace for dict input
#907