4296d854f38a7544eb02cd72d9cdb11e215051ce,pudl/init.py,,_ETL_cems,#Any#Any#Any#Any#Any#Any#,640

Before Change


            for yr_mo_st, transformed_df in transformed_df_dict.items():
                // TODO: Is this dict thing useful? If not, delete
                year, month, state = yr_mo_st
                if verbose:
                    print(f"    {year}-{month} for {state}...")
                loader.add(transformed_df)

    // List of indexes and constraints we need to create later, after loading
    // See https://stackoverflow.com/a/41254430

After Change


        print(time_message)
        start_time = time.monotonic()
    pudl.models.epacems.finalize(pudl_engine)
    if verbose:
        time_message = "    Finalizing EPA CEMS took {}".format(
            time.strftime("%H:%M:%S", time.gmtime(time.monotonic() - start_time))
        )
        print(time_message)



def init_db(ferc1_tables=pc.ferc1_pudl_tables,
            ferc1_years=pc.working_years["ferc1"],
            eia923_tables=pc.eia923_pudl_tables,
            eia923_years=pc.working_years["eia923"],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: 4296d854f38a7544eb02cd72d9cdb11e215051ce
Time: 2018-07-05
Author: karldw@users.noreply.github.com
File Name: pudl/init.py
Class Name:
Method Name: _ETL_cems


Project Name: home-assistant/home-assistant
Commit Name: 96bf8bc395f7c6bccc7b2f00e03f170acfa39c4c
Time: 2020-01-12
Author: yarmo@protonmail.com
File Name: homeassistant/components/nederlandse_spoorwegen/sensor.py
Class Name: NSDepartureSensor
Method Name: device_state_attributes


Project Name: p2irc/deepplantphenomics
Commit Name: 266327019a995345a03731dabf180914432089bf
Time: 2020-02-11
Author: dbl599@mail.usask.ca
File Name: deepplantphenomics/loaders.py
Class Name:
Method Name: _get_split_mask