I have a Dataframe that has a column with unique string column. like below:
id customerId ... 1 vqUkxUDuEmB7gHWQvcYrBn 2 KaLEhwzZxCQ7GjPmVwBVav 3 pybDYgTiCUv3Pv3WLgxKCM 4 zqPiDV33KwrMBZoyeQXMJW 5 CR8z3ThPyzBKXFqqzemQAS .
I want to replace customerIDs to int by a method like
# replace dataFrame.customerId[from start to end] dataFrame.customerId.replace(sum(map(ord, ???)))
How can i do that?
Source: Python-3x Questions