a6c04a52a63efc1729062ec2b5c4ef5f8bfddbed,src/pudl/output/eia860.py,,ownership_eia860,#Any#Any#Any#,364

Before Change


    ]

    // Re-arrange the columns for easier readability:
    out_df = (
        pudl.helpers.organize_cols(out_df, first_cols)
        .astype({
            "plant_id_pudl": "Int64",
            "utility_id_pudl": "Int64",
        })
    )

    return out_df

After Change


                 "utility_name_eia", "utility_id_pudl", "report_date"]]
    )

    out_df = (
        pd.merge(own_eia860_df, pu_eia,
                 how="left", on=["report_date", "plant_id_eia"])
        .dropna(subset=[
            "report_date",
            "plant_id_eia",
            "generator_id",
            "owner_utility_id_eia",
        ])
        .astype({
            "plant_id_eia": "Int64",
            "plant_id_pudl": "Int64",
            "utility_id_eia": "Int64",
            "utility_id_pudl": "Int64",
        })
    )

    first_cols = [
        "report_date",
        "plant_id_eia",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: a6c04a52a63efc1729062ec2b5c4ef5f8bfddbed
Time: 2020-02-13
Author: zane.selvans@catalyst.coop
File Name: src/pudl/output/eia860.py
Class Name:
Method Name: ownership_eia860


Project Name: catalyst-cooperative/pudl
Commit Name: f3ed367fe1e586c73ac5fe39fef7b916d5987f2b
Time: 2020-02-12
Author: zane.selvans@catalyst.coop
File Name: src/pudl/output/eia860.py
Class Name:
Method Name: plants_utils_eia860


Project Name: catalyst-cooperative/pudl
Commit Name: 2069e3e1664cff1a4a6fb90dbefd398b8bfd3205
Time: 2018-09-30
Author: zane.selvans@catalyst.coop
File Name: pudl/transform/ferc1.py
Class Name:
Method Name: best_matches