f3ed367fe1e586c73ac5fe39fef7b916d5987f2b,src/pudl/output/eia860.py,,generators_eia860,#Any#Any#Any#,209
Before Change
// start_date shouldn"t go back before the earliest working year of
// EIA 923
eia923_start_date = \
pd.to_datetime("{}-01-01".format(
min(pc.working_years["eia923"])) )
if start_date < eia923_start_date:
raise AssertionError(f
EIA 860 generators start_date ({start_date}) is before the
After Change
out_df.report_date = pd.to_datetime(out_df.report_date)
// Bring in some generic plant & utility information:
pu_eia = (
plants_utils_eia860(
pudl_engine, start_date=start_date, end_date=end_date)
.drop(["plant_name_eia", "utility_id_eia"], axis="columns")
)
out_df = pd.merge(out_df, pu_eia,
on=["report_date", "plant_id_eia"],
how="left")
// ,"plant_name_eia", "utility_id_eia"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances 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: generators_eia860
Project Name: cve-search/cve-search
Commit Name: 0a2d147d858fc27a17e047b5b30abe4a8fd07c35
Time: 2015-10-24
Author: pieterjan.moreels@gmail.com
File Name: lib/cpelist.py
Class Name: CPEList
Method Name: dropCollection
Project Name: EpistasisLab/tpot
Commit Name: 1d3771e0c0c42214e5328a881f67772d764b4e2f
Time: 2016-07-07
Author: supacoofoo@gmail.com
File Name: tests.py
Class Name:
Method Name: test_classifiers