code: def from_dict(cls, d: Dict):
      return cls(
          arr=[
              d["vendor_id"],
              d["tpep_pickup_datetime"][0],
              d["tpep_dropoff_datetime"][0],
              d["passenger_count"],
              d["trip_distance"],
              d["rate_code_id"],
              d["store_and_fwd_flag"],
              d["pu_location_id"],
              d["do_location_id"],
              d["payment_type"],
              d["fare_amount"],
              d["extra"],
              d["mta_tax"],
              d["tip_amount"],
              d["tolls_amount"],
              d["improvement_surcharge"],
              d["total_amount"],
              d["congestion_surcharge"],
          ]
      )
  
imports: from typing import List, Dict
  from decimal import Decimal
  from datetime import datetime
label_desc: Use image node_id 2 for calling the Ride obj's underlying member method code with example usage: obj.from_dict(cls, d) and returns: cls