5c34d497ab32ea731b687c5863f104615f666d06,QUANTAXIS/QAFetch/QAQuery.py,,QA_fetch_index_day,#,250

Before Change


        for item in cursor:

            __data.append([str(item["code"]), float(item["open"]), float(item["high"]), float(
                item["low"]), float(item["close"]), int(item["up_count"]), int(item["down_count"]), float(item["vol"]), float(item["amount"]), item["date"]])

        // 多种数据格式
        if format in ["n", "N", "numpy"]:

After Change


            return [data for data in cursor]
        for item in cursor:
            __data = pd.DataFrame([item for item in cursor])
            __data = __data.assign(date=pd.to_datetime(__data["date"]))
            // __data.append([str(item["code"]), float(item["open"]), float(item["high"]), float(
            //     item["low"]), float(item["close"]), int(item["up_count"]), int(item["down_count"]), float(item["vol"]), float(item["amount"]), item["date"]])

        // 多种数据格式
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 5c34d497ab32ea731b687c5863f104615f666d06
Time: 2019-02-16
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_index_day


Project Name: GPflow/GPflow
Commit Name: 24b5733d161bed633dd5c00c4de3faf4d4ee0322
Time: 2019-11-13
Author: 6815729+condnsdmatters@users.noreply.github.com
File Name: doc/source/notebooks/advanced/multiclass_classification.py
Class Name:
Method Name: plot_from_samples


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 5c34d497ab32ea731b687c5863f104615f666d06
Time: 2019-02-16
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_index_min