np split dataframe specific conditionm

Solutions on MaxInterview for np split dataframe specific conditionm by the best coders in the world

we are a community of more than 2 million smartest coders
showing results for - "np split dataframe specific conditionm"
Leonie
17 Oct 2018
1import numpy as np
2
3np.split(df, *np.where(df['column'] == condition))