957961ab1b7494a3f45ee4ac1d09918d3c237c14,qiskit/finance/data_providers/wikipedia_data_provider.py,WikipediaDataProvider,__init__,#WikipediaDataProvider#Any#Any#Any#Any#,41

Before Change


        
        super().__init__()
        if not HAS_QUANDL:
            raise NameError("The Quandl package is required to use the "
                            "WikipediaDataProvider. You can install it with "
                            ""pip install quandl".")
        self._tickers = None  // type: Optional[Union[str, List[str]]]
        tickers = tickers if tickers is not None else []
        if isinstance(tickers, list):
            self._tickers = tickers

After Change


        
        super().__init__()
        if not _HAS_QUANDL:
            raise MissingOptionalLibraryError(
                libname="Quandl",
                name="WikipediaDataProvider",
                pip_install="pip install quandl")
        self._tickers = None  // type: Optional[Union[str, List[str]]]
        tickers = tickers if tickers is not None else []
        if isinstance(tickers, list):
            self._tickers = tickers
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 4

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/finance/data_providers/wikipedia_data_provider.py
Class Name: WikipediaDataProvider
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/finance/data_providers/yahoo_data_provider.py
Class Name: YahooDataProvider
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/aqua/components/neural_networks/pytorch_discriminator.py
Class Name: PyTorchDiscriminator
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/finance/data_providers/exchange_data_provider.py
Class Name: ExchangeDataProvider
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/aqua/algorithms/minimum_eigen_solvers/cplex/simple_cplex.py
Class Name: SimpleCPLEX
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/finance/data_providers/random_data_provider.py
Class Name: RandomDataProvider
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/aqua/utils/qp_solver.py
Class Name:
Method Name: optimize_svm


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: qiskit/optimization/algorithms/cplex_optimizer.py
Class Name: CplexOptimizer
Method Name: __init__