I was working on Titanic Dataset from kaggle when I faced a problem in round function : While executing the following command :-
percent_2 = (round(percent_1, 1)).sort_values(ascending=False),

 following error occured :-   

 "{0}".format(str(converter))) TypeError: cannot convert the series to <type 'float'>. 

What is it happening? 