code: def last_value(self) -> float:
      return self.value[-1]
  
imports: import math
  from typing import Dict, List, Optional, Union
  from datetime import datetime, timedelta
  import numpy
label_desc: Use image node_id 2 for calling the Series obj's underlying member method code with example usage: obj.last_value() and returns: self