Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Connection to Python using Anaconda

 So I'm trying to run a basic python script via PowerBi and I am using Anaconda in the background.   I get the error:   "We encountered an error while trying to connect. Details: "ADO.NET: Python...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous 

    Did you follow the script requirements below ?

    1. The output must be a Panda’s dataframe, and it cannot be nested
    2. The script cannot run longer than 30 minutes or require interactive calls
    3. End the script with print(df

    Best Regards

    Community Support Team _ Ailsa Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.