Since order function has been deprecated, maybe we should modify it to sort_value like below?
obj = Series([4, 7, -3, 2])
obj.sort_value() # Series.order has been deprecated from v0.17
obj = Series([4, np.nan, 7, np.nan, -3, 2])
obj.sort_value() # Series.order has been deprecated from v0.17
Dear pydata-book maintainer,
In
Sorting and ranking
section of Chapter 5, Series.order function is used:Since
order
function has been deprecated, maybe we should modify it tosort_value
like below?Best regards, Jing Qin