<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_weight(self):
 """Get the weight of the Dataset. Returns ------- weight : numpy array or None Weight for each data point from the Dataset. """

        if self.weight is None:
            self.weight = self.get_field('weight')
        return self.weight