Answers for "histogram | creating a histogram"

1

histogram | creating a histogram

#Series.plot.hist() method

dataframe['col'].plot.hist()
plt.xlabel('x-axis label')
plt.title('title')
plt.ylim(0, 0)
plt.show()
# The y-label "Frequency" was generated by default

#eg2
Posted by: Guest on August-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language