Pandas Split DataFrame menjadi bongkahan dengan suatu kondisi
import numpy as np
np.split(df, *np.where(df['column'] == condition))
Anxious Axolotl
import numpy as np
np.split(df, *np.where(df['column'] == condition))