89b43bbd55550d5c103a8b06281d9bc62e533680,QUANTAXIS/QAData/data_resample.py,,QA_data_min_resample,#Any#Any#,348

Before Change


            loffset=type_
        ).apply(CONVERSION)

        d = min_data_p[:"{} 11:30:00".format(item)].resample(
            type_,
            base=30,
            closed="right",

After Change


        loffset=type_
    ).apply(CONVERSION)
    part_2 = min_data.iloc[idx.indexer_between_time("13:00", "15:00")]
    part_2_res = part_2.resample(
        type_,
        base=0,
        closed="right",
        loffset=type_
    ).agg(CONVERSION)
    return pd.concat([part_1_res, part_2_res]).dropna().sort_index().reset_index().set_index(["datetime", "code"])


Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 89b43bbd55550d5c103a8b06281d9bc62e533680
Time: 2019-08-05
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAData/data_resample.py
Class Name:
Method Name: QA_data_min_resample


Project Name: quiltdata/quilt
Commit Name: e5c62b49200a6adef9f9c92469b866161f999046
Time: 2020-09-23
Author: kevinemoore@gmail.com
File Name: lambdas/pkgselect/index.py
Class Name:
Method Name: file_list_to_folder


Project Name: catalyst-cooperative/pudl
Commit Name: 14ca7ff44991ca22c188cb7e583e0664682deaf1
Time: 2018-01-15
Author: zane.selvans@catalyst.coop
File Name: pudl/outputs.py
Class Name:
Method Name: generation_eia923