token2 = pd.read_csv('encrypted_file.csv') token3 = token2.applymap(lambda x: bytes(x[2:-1],'utf-8')) token4 = token3.applymap(lambda x: f.decrypt(x)) df_decrp = token4.applymap(lambda x: x.decode('utf-8')) df_decrp