csv file:
person_id session start_date
1 1108-1 08/17/2010
1 1108-2 10/19/2010
1 1111-1 09/20/2011
1 1111-2 10/01/2011
2 1104-2 01/10/2010
2 1112-1 05/15/2012
2 1112-2 09/15/2012
I just want to include the 1st 2 sessions per person_id so only:
person_id session start_date
1 1108-1 08/17/2010
1 1108-2 10/19/2010
2 1104-2 01/10/2010
2 1112-1 05/15/2012
Any help is appreciated. Thank you
person_id session start_date
1 1108-1 08/17/2010
1 1108-2 10/19/2010
1 1111-1 09/20/2011
1 1111-2 10/01/2011
2 1104-2 01/10/2010
2 1112-1 05/15/2012
2 1112-2 09/15/2012
I just want to include the 1st 2 sessions per person_id so only:
person_id session start_date
1 1108-1 08/17/2010
1 1108-2 10/19/2010
2 1104-2 01/10/2010
2 1112-1 05/15/2012
Any help is appreciated. Thank you