'Pyspark normal distribution

I'm trying to plot a normal distribution law with pyspark, does anyone have a syntax please? I tried with the numpy, matplotlib and scipy libraries but I still can't.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source