Generate a class in Python that represents a data record. The class should have three fields: name (string), age (integer) and gender (string).
Not applicable
class DataRecord:
 def __init__(self, name, age, gender):
 self.name = name
 self.age = age
 self.gender = gender