pandas df to_csv freezes when using pyinstaller to save the df in the exe directory
Look, if you use Innodb compiler then you will face a problem of permission denied error in the setup. So , I have tried to solve that by using temporary file but It is getting deleted after generation. But if you really want to solve this problem then use xlsxwriter and save it to a specific file location.
I am trying to save the output dataframe to a csv file while using pyinstaller to create an exe, but my code freezes and generate "[Errno 13] Permission denied: '.\Output.csv' " error. My question is. what wrong using df.to_csv to save the output file in the same exe directory ? 
Thanks in adcance