I'm using python 3.x. I need to apply encoding in my pandas data frame which contains 2391653 rows & 35 columns. I need to apply endcoding only for name column. So I tried this code
df1=df.Name.str.encode('utf-8-sig') But df1 is storing only name column. Can you please suggest me how to apply encoding only for 1 column & remaining columns will be unchanged?