code: def __init__(self, arr: List[str]):
      self.vendor_id = arr[0]
      self.tpep_pickup_datetime = (
          datetime.strptime(arr[1], "%Y-%m-%d %H:%M:%S"),
      )
      self.tpep_dropoff_datetime = (
          datetime.strptime(arr[2], "%Y-%m-%d %H:%M:%S"),
      )
      self.passenger_count = int(arr[3])
      self.trip_distance = Decimal(arr[4])
      self.rate_code_id = int(arr[5])
      self.store_and_fwd_flag = arr[6]
      self.pu_location_id = int(arr[7])
      self.do_location_id = int(arr[8])
      self.payment_type = arr[9]
      self.fare_amount = Decimal(arr[10])
      self.extra = Decimal(arr[11])
      self.mta_tax = Decimal(arr[12])
      self.tip_amount = Decimal(arr[13])
      self.tolls_amount = Decimal(arr[14])
      self.improvement_surcharge = Decimal(arr[15])
      self.total_amount = Decimal(arr[16])
      self.congestion_surcharge = Decimal(arr[17])
  
imports: from typing import List, Dict
  from decimal import Decimal
  from datetime import datetime
label_desc: Use image node_id 1 to create a new Ride object  with example: obj = Ride(arr)