I have a dataframe (df) with about 300 rows. The column names are 'Description', 'Impact' and 'lower_desc':
Description Impact lower_desc
0 BICC's mission in its current phase extends th... BAD [bicc's, mission, current, phase, extends, pre...
1 Narrative Impact Report\r\n\r\nDuring the cour... GOOD [narrative, impact, report, course, project, (...
2 Our findings have been used by social psycholo... BAD [findings, used, social, psychologists, intere...
3 The data set has been used for secondary analy... BAD [data, set, used, secondary, analysis, byt, es...
4 So far it seems that our research outcome has ... BAD [far, seems, outcome, 'used', people, (educati...
5 Our findings on the effects of urbanisation on... BAD [findings, effects, urbanisation, cognition, r...
6 The research findings have been used by a rang... GOOD [findings, used, range, societal, bodies,, inc...
7 In the last year we have disseminated the rese... BAD [last, year, disseminated, five, different, wo...
8 \r\nThis research has been concerned with how ... BAD [concerned, people, withhold, actions,, brain,...
9 The Centre has run a varied programme of cours... BAD [centre, run, varied, programme, courses,, mas...
10 We presented evidence at one of the seminars o... BAD [presented, evidence, one, seminars, additiona.
...
I am producing a training and test set, so I want to split the dataframe into two i.e. the first 200 rows go into df1 and the remaining 100 go into df2. There may be more than 300 rows or less.
How would one go about this?