7ed26601ab8c847559289b496a0afa4e5f624c57,QUANTAXIS/QAARP/QARisk.py,QA_Risk,month_assets_profit,#QA_Risk#,725
Before Change
@property
def month_assets_profit(self):
return pd.concat([pd.Series(self.init_cash), self.month_assets]).diff().dropna()
@property
def daily_assets_profit(self):
return self.assets.diff()
After Change
@property
def month_assets_profit(self):
res = pd.concat([pd.Series(self.init_cash), self.month_assets]).diff().dropna()
res.index = res.index.map(str)
return res
@property
def daily_assets_profit(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 7ed26601ab8c847559289b496a0afa4e5f624c57
Time: 2019-02-18
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAARP/QARisk.py
Class Name: QA_Risk
Method Name: month_assets_profit
Project Name: nilmtk/nilmtk
Commit Name: 33f8f8e0c0717af9a160dfad81380cc0fdf279f9
Time: 2014-07-10
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: power_series
Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 3b1517e09c60dd0268c534328b9b3a6e00ca14b0
Time: 2018-12-21
Author: jcastaldo08@gmail.com
File Name: category_encoders/leave_one_out.py
Class Name: LeaveOneOutEncoder
Method Name: transform_leave_one_out