<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(self, label, default=None):
 """ Returns value occupying requested label, default to specified missing value if not present. Analogous to dict.get Parameters label : object Label value looking for default : object, optional Value to return if label not in index Returns ------- y : scalar """

        if label in self.index:
            loc = self.index.get_loc(label)
            return self._get_val_at(loc)
        else:
            return default