813f8e78d2db0a3d6d4fe30df8b9a6c7784e0250,QUANTAXIS/QAData/QADataStruct.py,QA_DataStruct_Crypto_Asset_day,__init__,#QA_DataStruct_Crypto_Asset_day#Any#Any#Any#,1648
Before Change
super().__init__(DataFrame, dtype, if_fq)
self.type = "crypto_asset_day"
self.data = self.data.loc[:,
[
"open",
"high",
"low",
"close",
"volume",
"trade",
"amount"
]]
self.if_fq = if_fq
// 抽象类继承
After Change
def __init__(self, DataFrame, dtype="crypto_asset_day", if_fq=""):
super().__init__(DataFrame, dtype, if_fq)
self.type = "crypto_asset_day"
self.data = self.data.sort_index()
self.if_fq = if_fq
// 抽象类继承
def choose_db(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 813f8e78d2db0a3d6d4fe30df8b9a6c7784e0250
Time: 2020-03-06
Author: 11652964@qq.com
File Name: QUANTAXIS/QAData/QADataStruct.py
Class Name: QA_DataStruct_Crypto_Asset_day
Method Name: __init__
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 813f8e78d2db0a3d6d4fe30df8b9a6c7784e0250
Time: 2020-03-06
Author: 11652964@qq.com
File Name: QUANTAXIS/QAData/QADataStruct.py
Class Name: QA_DataStruct_Crypto_Asset_min
Method Name: __init__
Project Name: Featuretools/featuretools
Commit Name: 18f30454593e206a538858287c45bd3ed6c1da37
Time: 2018-05-22
Author: benjaminschreck93@gmail.com
File Name: featuretools/tests/entityset_tests/test_last_time_index.py
Class Name: TestLastTimeIndex
Method Name: test_grandparent