Why are my values of string column of dataframe getting converted to NaN when I sort my dataframe according to SaleDate
My original data has a UsageBand column which has string values of low, medium and high(along with a few missing entries). But when I apply sort_values function to my data and sort it according to “saledate” column, all the string values of UsageBand column(along with other string columns) get converted to NaN. Why is this happening?