drop_carriers¶ passengersim.transforms.carriers.drop_carriers(cfg: Config, carriers: list[str], *, inplace: bool = True) → Config[source]¶ Drop carrier(s) from this config, including all fares, legs, and paths. Parameters: cfg : Config¶The configuration object containing fares, classes, and carriers. carriers : list of str¶The list of carrier codes to drop from the configuration. Returns: Config – The updated configuration object without the indicated carriers.