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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 51 | |
| 42 | |
| 25 | |
| 22 |
| User | Count |
|---|---|
| 139 | |
| 116 | |
| 54 | |
| 37 | |
| 31 |