7a2d113f990cfd61bfcb7e8152670b67ee467ee8,QUANTAXIS/QAData/QABlockStruct.py,QA_DataStruct_Stock_block,get_block,#QA_DataStruct_Stock_block#Any#,110

Before Change


        
        block_name = [block_name] if isinstance(
            block_name, str) else block_name
        return QA_DataStruct_Stock_block(self.data[self.data.blockname.apply(lambda x: x in block_name)])



    def getdtype(self, dtype):

After Change


        //     block_name, str) else block_name
        // return QA_DataStruct_Stock_block(self.data[self.data.blockname.apply(lambda x: x in block_name)])

        return QA_DataStruct_Stock_block(self.data.loc[(block_name, slice(None)), :])

    def getdtype(self, dtype):
        getdtype
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 7a2d113f990cfd61bfcb7e8152670b67ee467ee8
Time: 2018-07-05
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAData/QABlockStruct.py
Class Name: QA_DataStruct_Stock_block
Method Name: get_block


Project Name: uqfoundation/mystic
Commit Name: df3a82d968fad36ae2b546892a0e58a606121dab
Time: 2018-06-17
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: _math/distance.py
Class Name:
Method Name: absolute_distance


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 7a2d113f990cfd61bfcb7e8152670b67ee467ee8
Time: 2018-07-05
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAData/QABlockStruct.py
Class Name: QA_DataStruct_Stock_block
Method Name: get_code