Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Team,
I am trying to the print the mean median mode , skewness and kurtosis using python in power bi
when i use print in the py script editor it throws error.. please advice best way to summariaze data like below
print("Mean : %f\nMedian : %f"%(Loop_Time.mean(),Loop_Time.median()))
print("Variance : %f\nStandar Deviation: %f"%(Loop_Time.var(),Loop_Time.std()))
print("Skewness : %f"%(Loop_Time.skew()))
print("Kurtosis : %f"%(Loop_Time.kurtosis()))
#Finding min,max,1st,3rd quartile and median
print("Min :%f"%(Loop_Time.min()))
print("1st Quartile :%f"%(Loop_Time.quantile(0.25)))
print("Meidan :%f"%(Loop_Time.median()))
print("3rd Quartile :%f"%(Loop_Time.quantile(0.75)))
print("Max :%f"%(Loop_Time.max()))
Solved! Go to Solution.
Team i found a workarround for this...
Here is the example how i did it in script editor
Team i found a workarround for this...
Here is the example how i did it in script editor
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 |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |