I have an integer dataframe and in my code I am doing some length calculation( which can be only perfomred on string), therefore I need to convert my dataframe to String. I have tried using str(), its not helping me, it would be helpful if you could suggest something.
Item Class Cd is integer, so to perform len function on it, this needs to be converted to string.
And when I am executing the above code it is giving me error:
mylist=df["Item Class Cd"]
TypeError: string indices must be integers