30703a7036f9bfd58ba23c2872887f1820ef928e,pudl/outputs.py,,fuel_ferc1_df,#Any#,94

Before Change


            pt["utilities_ferc"].c.respondent_id ==
            pt["fuel_ferc1"].c.respondent_id,
            pt["plants_ferc"].c.respondent_id ==
            pt["fuel_ferc1"].c.respondent_id,
            pt["plants_ferc"].c.plant_name ==
            pt["fuel_ferc1"].c.plant_name))

After Change


    pu_ferc = plants_utils_ferc_df(pudl_engine)

    out_df = pd.merge(fuel_df, pu_ferc, on=["respondent_id", "plant_name"])
    out_df = out_df.drop("id", axis=1)

    out_df = out_df[[
        "report_year",
        "respondent_id",
        "respondent_name",
        "util_id_pudl",
        "plant_name",
        "plant_id_pudl",
        "fuel",
        "fuel_unit",
        "fuel_qty_burned",
        "fuel_avg_mmbtu_per_unit",
        "fuel_cost_per_unit_burned",
        "fuel_cost_per_unit_delivered",
        "fuel_cost_per_mmbtu",
        "fuel_cost_per_mwh",
        "fuel_mmbtu_per_mwh",
        "fuel_consumed_total_mmbtu",
        "fuel_cost_per_mmbtu",
        "fuel_cost_per_unit_burned",
    ]]

    return(out_df)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: 30703a7036f9bfd58ba23c2872887f1820ef928e
Time: 2017-09-25
Author: zane.selvans@catalyst.coop
File Name: pudl/outputs.py
Class Name:
Method Name: fuel_ferc1_df


Project Name: CNuge/kaggle-code
Commit Name: b7990885d8b26b9404fd9ce952b0b2f005019594
Time: 2018-01-12
Author: nugentc@uoguelph.ca
File Name: california_housing/feature_engineering.py
Class Name:
Method Name:


Project Name: catalyst-cooperative/pudl
Commit Name: fdf7ce1ec10e77f0f54aed1c6c9fe65febaf7b67
Time: 2019-06-05
Author: zane.selvans@catalyst.coop
File Name: pudl/transform/ferc1.py
Class Name:
Method Name: plants_steam


Project Name: catalyst-cooperative/pudl
Commit Name: 590028f40e74f82c3d00f0bc48b4cf415c97bfce
Time: 2019-06-13
Author: zane.selvans@catalyst.coop
File Name: pudl/transform/ferc1.py
Class Name:
Method Name: fuel