bb66ea0993507b10b25d5cca128965bc3c67a966,nilmtk/electric.py,Electric,power_series,#Electric#,467

Before Change


             " more general purpose.", DeprecationWarning)

        // Select power column:
        kwargs["physical_quantity"] = "power"
        kwargs["ac_type"] = "best"

        // Pull data through preprocessing pipeline
        generator = self.load(**kwargs)

After Change


        generator of pd.Series of power measurements.
        
        // Select power column:
        kwargs.update({"physical_quantity": "power", "ac_type": "best"})

        // Pull data through preprocessing pipeline
        generator = self.load(**kwargs)
        for chunk in generator:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: nilmtk/nilmtk
Commit Name: bb66ea0993507b10b25d5cca128965bc3c67a966
Time: 2014-12-12
Author: jack-list@xlk.org.uk
File Name: nilmtk/electric.py
Class Name: Electric
Method Name: power_series


Project Name: google-research/google-research
Commit Name: ab2853d916f4a671b900adc1fa959b3199bdad36
Time: 2021-01-29
Author: liuti@google.com
File Name: poem/train_base.py
Class Name:
Method Name: run


Project Name: PaddlePaddle/edl
Commit Name: ade19dbbe4c88cb10129834c5a7e76579ce7d5d8
Time: 2017-05-23
Author: yancey1989@gmail.com
File Name: paddlecloud/paddlejob/paddle_job.py
Class Name: PaddleJob
Method Name: new_trainer_job


Project Name: PaddlePaddle/edl
Commit Name: ade19dbbe4c88cb10129834c5a7e76579ce7d5d8
Time: 2017-05-23
Author: yancey1989@gmail.com
File Name: paddlecloud/paddlejob/paddle_job.py
Class Name: PaddleJob
Method Name: new_pserver_job