input: Write a python function to apply a series of operations on a dataset, where each element is modified by subtracting 1 from each element and transforming it to upper case.
  assert apply_operations([['Car', 'Red'], ['Bike', 'Blue'], ['Van', 'Green']], ["subtract 1 from each element and transform it to upper case"]) == [['B9L9', 'Q8C'], ['A8J9E', 'A7K9D'], ['U8E7M', 'F6D6E6']]
  assert apply_operations([['Cat', 'Brown'], ['Dog', 'Black']], ["subtract 1 from each element and transform it to upper case"]) == [['B8S8', 'A7Q7W8N'], ['C7N8C', 'A7K7C']]
  assert apply_operations([['Bus', 'Yellow'], ['Truck', 'White']], ["subtract 1 from each element and transform it to upper case"]) == [['A7R8', 'Z8L7N8W'], ['S6U7B7S', 'V7G7I8E']]
output: def apply_operations(dataset, operations):
      def transform(element):
          transformed = []
          for char in element:
              if char.isalpha():
                  new_char = chr(ord(char) - 1).upper()
              elif char.isdigit():
                  new_char = str(int(char) - 1)
              else:
                  new_char = char
              transformed.append(new_char)
          return ''.join(transformed)
      
      result = []
      for record in dataset:
          new_record = [transform(element) for element in record]
          result.append(new_record)
      
      return result