Forum Discussion
Jeanxyz
Power Participant
2 years agoget data via python script
I'm learning to import data via python script following Microsoft tutorial (https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts). I have installed python, pandas, matplotli...
- 2 years ago
works fine for me. Re-do your Python setup on that PC.
No need to print the variable.
let Source = Python.Execute("import pandas as pd#(lf)data = [['Alex',10],['Bob',12],['Clarke',13]]#(lf)df = pd.DataFrame(data,columns=['Name','Age'])"), df1 = Source{[Name="df"]}[Value] in df1
id013
Helper V
1 year agoSo I am also creating a data model via python, and it works fine on my desktop. However while I can deploy the model to service I don't see a way that I can have PBI Service refresh the model for me. Is this just a limitation of PBI service and the on-prem gateway or am I missing something.
lbendlin
Super User
1 year agoa service refresh MANDATES the use of a PERSONAL gateway.