image_output_1.png
import pandas as pd

train = pd.read_csv('/kaggle/input/30-days-of-ml/train.csv', low_memory=False)
test = pd.read_csv('/kaggle/input/30-days-of-ml/test.csv', low_memory=False)

cuts = [i / 1000 for i in range(6940, 10400)]
train['target'].value_counts(bins=cuts)

cuts = [i / 1000 for i in range(8050, 8150)]
train['target'].value_counts(bins=cuts).sort_index()[60:75]