I want to count the number of round trip (day trader) transactions in a set of stock trading transactions held in a pandas dataframe. My data originally has 3 columns: [\'ti