UiPath, Python Script, Pipe Broken

Hello Guys.
I have this simple python code:

Which takes as input an excel file and saves a new excel file with manipulated data.
The input is about 50 Rows.

I have installed Python 3.6 32 Bit on my Machine when I try to Execute the code.
When I try to just print something it works.
image

But the above Code doesnt work.
image

And this is the configuration:

Is it possible that I return the DF and take it from UIPATH as Datatable?

Thank You Guys

Nothing ?

Are you returning any Value in your Python function? Try to return the output and your error should be resolved.

image

Thats my script i want to save a DF as CSV.
What should i return ?

I’ve got same error, and In my python scripts, I import xlwings, so I got this pipe broken error, and I change a method, using invoke power shell to run python scripts.