title: What does the parameter "bins" signify in dataframe.hist()?
body: <p>I'm learning ML from a book in which the writer wrote:
  housing.hist(bins=50, figsize=(20,15))
  plt.show()
  - to draw histogram of the data.
  In there, I didn't understand the significance and need of bin attribute and how to decide a value for it.</p>
  
  <p>I went on to pandas documentation website (<a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.hist.html" rel="nofollow noreferrer">https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.hist.html</a>) and still did not understand what does the parameter "bins" mean.</p>