'Selecting a subset of array

I am trying to create a Histogram to be able to identify the "noise" in my dataset. However, the dataset has a large data spread and thus a lot of the details I am interested in get lumped in the "zero column". I have a dataset that ranges from -0,0001 to 10000 but the bulk of values are around 0,1-0,1. I want to look specifically at the spread around zero and I have 600 000 data points. My question is thus, should I create a "new" dataset and remove everything above let say 1, to be able to see the distribution around this point in more detail and if so how do I do this in pandas? And if not is there another way of creating a histogram that have bins in the decimal ranges? Below if what I have so far and "depo" represents my dataset.

bins = np.arange(20)

depo.hist(bins=bins)

OUTPUT



Sources

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

Source: Stack Overflow

Solution Source