Submitted by ikashifkhan t3_xuz7rm in MachineLearning
Hello folks,
I am an absolute novice in data science. I came up with this first example "distplot" in the seaborn module. The list [0, 1, 2, 3, 4, 5] which I provided to distplot, I just don't understand the output it gets me on both X-Axis and Y-Axis.
The X-Axis gets me the values like -4 -2 0 2 4 6 8 which I have no idea what it demonstrates.
The example with the output link below shows you both the X and Y-Axis graphical demonstration.
Example
import matplotlib.pyplot as plt
import seaborn as sns
sns.distplot([0, 1, 2, 3, 4, 5])
plt.show()
Output: W3Schools Tryit Editor
asdfwaevc t1_iqyb3gi wrote
This subreddit is mostly for sharing/discussing ML research. For questions like that, try posting on stackoverflow, or possibly r/learnmachinelearning (though it's not really an ML question either).
I'd encourage you to try and figure these things out through trial and error (changing the arguments and seeing what happens). And before that, reading the documentation (which says that's a deprecated function).