0

I have a dataframe with a hundred different subsets of data, each consisting of a feww records. I want to visualize the distribution of each subset using a histogram ie, I want to plot 100 histogram. How do I do this?

I tried this, but all the histograms are going into the same chart.

for i in range(100):
    desc_raw[desc_raw['ID'].isin(id_nodes[i])]['SubInd'].hist()

What is the correct way of doing this?

Aadith Ramia
  • 10,005
  • 19
  • 67
  • 86

0 Answers0