d9ee552f0be203090c396b59a9e396221d222936,QUANTAXIS/QAFactor/fetcher.py,,QA_fetch_stock_name,#Any#Any#,586

Before Change


    if res.empty:
        return res
    else:
        return res.drop(columns="_id")


def QA_fetch_industry_adv(
    code: Union[str, List, Tuple] = None,

After Change


    if res.empty:
        return res
    else:
        return res.drop(columns="_id").set_index("code").sort_values(by="start_date_stamp").drop_duplicates(keep="last").sort_index()


def QA_fetch_industry_adv(
    code: Union[str, List, Tuple] = None,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: d9ee552f0be203090c396b59a9e396221d222936
Time: 2020-12-22
Author: nehcuh@szu.edu.cn
File Name: QUANTAXIS/QAFactor/fetcher.py
Class Name:
Method Name: QA_fetch_stock_name


Project Name: soft-matter/trackpy
Commit Name: dbeab7509cfec1314b6529d57fbd090ce744695c
Time: 2017-07-27
Author: caspervdw@gmail.com
File Name: trackpy/motion.py
Class Name:
Method Name: compute_drift


Project Name: etal/cnvkit
Commit Name: 11d76fd4eb2ef5ecb3c062ff4ff4f39d64ae5741
Time: 2016-11-24
Author: eric.talevich@gmail.com
File Name: cnvlib/genome/_merge.py
Class Name:
Method Name: _merge