2469eecd6a94184881967f0aee19d1cbf89b22e7,pythalesians/market/loaders/lowlevel/quandl/loaderquandl.py,LoaderQuandl,load_ticker,#LoaderQuandl#Any#,39

Before Change



        if data_frame is not None:
            // tidy up tickers into a format that is more easily translatable
            returned_tickers = [x.replace(" - Value", "") for x in returned_tickers]
            returned_tickers = [x.replace(" - VALUE", "") for x in returned_tickers]
            returned_tickers = [x.replace(".", "/") for x in returned_tickers]

            fields = self.translate_from_vendor_field(["close" for x in returned_tickers], time_series_request)

After Change


            // tidy up tickers into a format that is more easily translatable
            // we can often get multiple fields returned (even if we don"t ask for them!)
            // convert to lower case
            returned_fields = [(x.split(" - ")[1]).lower().replace(" ", "-") for x in returned_tickers]

            returned_tickers = [x.replace(".", "/") for x in returned_tickers]
            returned_tickers = [x.split(" - ")[0] for x in returned_tickers]

            fields = self.translate_from_vendor_field(returned_fields, time_series_request)
            tickers = self.translate_from_vendor_ticker(returned_tickers, time_series_request)

            ticker_combined = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: cuemacro/finmarketpy
Commit Name: 2469eecd6a94184881967f0aee19d1cbf89b22e7
Time: 2016-07-28
Author: saeedamen@hotmail.com
File Name: pythalesians/market/loaders/lowlevel/quandl/loaderquandl.py
Class Name: LoaderQuandl
Method Name: load_ticker


Project Name: TheAlgorithms/Python
Commit Name: 8ab84fd7940911b81980c4b387decf85d454064b
Time: 2020-06-25
Author: cclauss@me.com
File Name: machine_learning/word_frequency_functions.py
Class Name:
Method Name: document_frequency


Project Name: chartbeat-labs/textacy
Commit Name: 465e3da40350f30c2ef965b72531fb33666fa388
Time: 2019-03-20
Author: burtdewilde@gmail.com
File Name: tests/test_extract.py
Class Name:
Method Name: test_noun_chunks_min_freq


Project Name: JasonKessler/scattertext
Commit Name: abd6f9d6430c4e1799594932eb4097fa5d858363
Time: 2017-04-17
Author: Jason.Kessler@gmail.com
File Name: scattertext/TermDocMatrix.py
Class Name: TermDocMatrix
Method Name: get_stoplisted_unigram_corpus