Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I'm trying to run the example below from Power Bi, however I'm getting the following error:
import pandas as pd
data = [['Alex',10],['Bob',12],['Clarke',13]]
df = pd.DataFrame(data,columns=['Name','Age'],dtype=float)
print (df)
Can anyone help please? I have the python scripting enabled in Power BI and packages installed
thanks!
Solved! Go to Solution.
@LauraBueno , Reinstall numpy. make sure you use PIP install
check the description of this video for various command and error solution links
https://www.youtube.com/watch?v=5D0BkNsu5CM
@LauraBueno , Reinstall numpy. make sure you use PIP install
check the description of this video for various command and error solution links
Hi @amitchandak ,
I'm now trying to create a scatter plot with python for two numeric arrays: Experimental and Predicted as shown below.
However I get the following error:
Any help would be really appreciated!
Thank you