ac996ea9f354d8378ba20276ee16a3dd6e6d3feb,finmarketpy/backtest/backtestengine.py,TradingModel,plot_yoy_helper,#TradingModel#,1430

Before Change


        ret_stats = calculations.pandas_outer_join(yoy)
        ret_stats.index = ret_stats.index.year

        if strip is not None: ret_stats.columns = [k.replace(strip, "") for k in ret_stats.columns]

        // ret_stats = ret_stats.sort_index()
        style.file_output = self.DUMP_PATH + self.FINAL_STRATEGY + " (" + file_tag + ") " + str(style.scale_factor) + ".png"
        style.html_file_output = self.DUMP_PATH + self.FINAL_STRATEGY + " (" + file_tag + ") " + str(style.scale_factor) + ".html"

After Change


        //keys = self._strategy_group_benchmark_ret_stats.keys()
        yoy = []

        for key in ret_stats.keys():
            col = ret_stats[key].yoy_rets()
            col.columns = [key]
            yoy.append(col)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: cuemacro/finmarketpy
Commit Name: ac996ea9f354d8378ba20276ee16a3dd6e6d3feb
Time: 2017-02-24
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_yoy_helper


Project Name: dit/dit
Commit Name: f347714e839860bf6d41e51155d3d4573480464a
Time: 2017-09-29
Author: ryangregoryjames@gmail.com
File Name: dit/profiles/base_profile.py
Class Name: BaseProfile
Method Name: draw


Project Name: rasbt/mlxtend
Commit Name: c9e82bb1ab323d4a79793e47dbdd9204302e36af
Time: 2015-04-06
Author: se.raschka@me.com
File Name: mlxtend/file_io/find.py
Class Name:
Method Name: find_filegroups


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 1127ff5fdcdfbe89efee98614cf4d4e2c29da4a8
Time: 2019-02-11
Author: noreply@google.com
File Name: deploy/utils/utils.py
Class Name:
Method Name: resolve_env_vars