Forum Discussion

johanvdk67's avatar
johanvdk67
Regular Visitor
4 years ago
Solved

executing an external python script from Powerbi

I have an external python script, this runs without errors when I execute from Python:     import pandas as pd data = [['Alex',10],['Bob',12],['Clarke',13]] df = pd.DataFrame(data,columns=['Name'...
  • Anonymous's avatar
    Anonymous
    4 years ago

    johanvdk67  - Okay, so the issue is not the Python step, it is the opening of the Binary file.  It must have a funny character or binary format that is confusing Power Query.

    Could you open the Example.Py file in Notepad - like this - Mine is working.