hanya menyimpan barisan data berdasarkan nilai kolom

df.loc[(df['column_name'] >= A) & (df['column_name'] <= B)]
Wicked Wasp