Question: Schema for green_taxi_zone_df: root |-- lpep_pickup_datetime: string (nullable = true) |-- lpep_dropoff_datetime: string (nullable = true) |-- PULocationID: string (nullable = true) |-- DOLocationID: string
Schema for green_taxi_zone_df:\ root\ |-- lpep_pickup_datetime: string (nullable = true)\ |-- lpep_dropoff_datetime: string (nullable = true)\ |-- PULocationID: string (nullable = true)\ |-- DOLocationID: string (nullable = true)\ |-- passenger_count: string (nullable = true)\ |-- trip_distance: string (nullable = true)\ |-- fare_amount: string (nullable = true)\ |-- extra: string (nullable = true)\ |-- mta_tax: string (nullable = true)\ |-- tip_amount: string (nullable = true)\ |-- tolls_amount: string (nullable = true)\ |-- ehail_fee: string (nullable = true)\ |-- total_amount: string (nullable = true)\ |-- payment_type: string (nullable = true)\ |-- trip_type: string (nullable = true)\ |-- congestion_surcharge: string (nullable = true)\ |-- taxi_type: string (nullable = false)\ |-- Pickup_Borough: string (nullable = true)\ |-- Pickup_Zone: string (nullable = true)\ |-- Pickup_service_zone: string (nullable = true)\ |-- Dropoff_Borough: string (nullable = true)\ |-- Dropoff_Zone: string (nullable = true)\ |-- Dropoff_service_zone: string (nullable = true)\ |-- Pickup_Borough: string (nullable = true)\ |-- Pickup_Zone: string (nullable = true)\ |-- Pickup_service_zone: string (nullable = true)\ |-- Dropoff_Borough: string (nullable = true)\ |-- Dropoff_Zone: string (nullable = true)\ |-- Dropoff_service_zone: string (nullable = true)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
