Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
57 | |
37 | |
36 |
User | Count |
---|---|
85 | |
65 | |
60 | |
46 | |
45 |