code: def last(self, rows: List[Row]) -> List[Row]:
          
          if not rows:
              logger.warning("Trying to get last row from an empty list")
              return []
          return [rows[-1]]
docs: Takes an expression that evaluates to a list of rows, and returns the last one in that
          list.