Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all,
I am trying to insert a descriptive statiscis table into my report. I come from the Python world, easier way from me is to run dataframe.describe().
After reading and make some research, it was suggested to run python script from Power Query Editor, ...I follow the instructions, but I don't see what it suppoused to be the descriptive statistics report ..it generates a empty Table. Can someone help with this ?
Thanks.
Solved! Go to Solution.
Hi @Anonymous ,
I can get correct result with df= df.describe(). Have you already installed the matplotlib and pandas packages?
You can refer to the video: https://www.youtube.com/watch?v=FhpJLLfrx4c
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , One of the ways I can think of is to try to load data using python connector and before you return dataset do some operations which you want and return the final dataset
Thanks for your quick response, I tried that, getting data as follows : df=pd.read_csv('file.csv')
df= df.describe()
It's passing just the df with numbers (one column) no the whole descriptive statistics as it suppoused to.
Hi @Anonymous ,
I can get correct result with df= df.describe(). Have you already installed the matplotlib and pandas packages?
You can refer to the video: https://www.youtube.com/watch?v=FhpJLLfrx4c
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
97 | |
75 | |
63 | |
62 |
User | Count |
---|---|
139 | |
104 | |
104 | |
80 | |
66 |