You need astype: df['zipcode'] = df.zipcode.astype(str). #df.zipcode = df.zipcode.astype(str). For converting to categorical: df['zipcode'] ...
DOWNLOAD: https://byltly.com/2eucm1
DOWNLOAD: https://byltly.com/2eucm1
converting-column-to-categorical
3925e8d270
Comments