Forum Discussion
johanvdk67
4 years agoRegular Visitor
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'...
- Anonymous4 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.
johanvdk67
4 years agoRegular Visitor
Have chosen an "manual" approach via the powerquery editor, somehow I have it working now ..... I will try to figure out what is different and why my initial approach gave the indentation errors