I want to create a new column based on whether or not it is a duplicate row. I have my data ordered by user # then date. I want the new column to check to see if the value in the first column is equal to the row before, then do the same for the date.
For example I have the first two columns of data and want to create a boolean array in the 3rd column whether or not it was a new user on a new day:
User# Date Unique
1 1/1/17 1
1 1/1/17 0
1 1/2/17 1
2 1/1/17 1
3 1/1/17 1
3 1/2/17 1