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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 41 | |
| 41 | |
| 22 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 80 | |
| 54 |