leaf_engine.domain.columns
Classes
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
Functions
|
Returns a list of column names to use when computing DF row hash. Excludes |
|
Returns a list of all column names used internally. |
|
Returns a list of column names explicitly mapped, computed or set at the |
|
Module Contents
- class leaf_engine.domain.columns.LeafClusterColumn
Bases:
LeafColumnGeneric enumeration.
Derive from this class to define new enumerations.
- d_cluster_city
- d_cluster_geometry_string
- d_cluster_name
- d_cluster_state
- o_cluster_city
- o_cluster_geometry_string
- o_cluster_name
- o_cluster_state
- class leaf_engine.domain.columns.LeafColumn
Bases:
enum.EnumGeneric enumeration.
Derive from this class to define new enumerations.
- class leaf_engine.domain.columns.LeafGeoColumn
Bases:
LeafColumnGeneric enumeration.
Derive from this class to define new enumerations.
- d_geometry_string
- d_lat
- d_lon
- o_geometry_string
- o_lat
- o_lon
- class leaf_engine.domain.columns.LeafInternalIDColumn
Bases:
LeafColumnGeneric enumeration.
Derive from this class to define new enumerations.
- d_cluster_id
- d_legacy_cluster_id
- d_location_id
- internal_lane_id
- internal_shipment_id
- o_cluster_id
- o_legacy_cluster_id
- o_location_id
- power_lane_id
- ptp_lane_id
- routing_lane_id
- routing_route_id
- class leaf_engine.domain.columns.LeafPCMilerColumn
Bases:
LeafColumnGeneric enumeration.
Derive from this class to define new enumerations.
- pcm_hours
- pcm_lane_path
- pcm_miles
- class leaf_engine.domain.columns.LeafShipmentColumn
Bases:
LeafColumnGeneric enumeration.
Derive from this class to define new enumerations.
- carrier_name
- carrier_scac
- carrier_type
- company_miles
- company_transit_time
- d_address
- d_city
- d_country
- d_site
- d_state
- d_zip
- delayed
- delivery_type
- equipment_class
- equipment_type
- exclude_shipment
- hazardous
- load_type
- mode
- move_type
- o_address
- o_city
- o_country
- o_site
- o_state
- o_zip
- period
- pickup_type
- protection
- shipment_id
- shipments
- stops
- weight
- class leaf_engine.domain.columns.LeafSpendColumn
Bases:
LeafColumnGeneric enumeration.
Derive from this class to define new enumerations.
- accessorials
- charge_increment
- currency
- fuel_increment
- fuel_peg
- fuel_surcharge
- linehaul
- linehaul_zero_peg
- spend
- leaf_engine.domain.columns.get_hash_column_names(column_cls) List[str]
Returns a list of column names to use when computing DF row hash. Excludes PCMiler, Cluster, and Geo columns.
- Returns:
List of column names.
- Return type:
List[String]
- leaf_engine.domain.columns.get_internal_column_names() List[str]
Returns a list of all column names used internally.
- Returns:
List of column names.
- Return type:
List[String]
- leaf_engine.domain.columns.get_mapped_column_names() List[str]
Returns a list of column names explicitly mapped, computed or set at the mapping stage.
- Returns:
List of column names.
- Return type:
List[String]
- leaf_engine.domain.columns.is_normalized_date(date)