dbb8ee96613356a1f80175b7347d43b892a2494c,skater/data/datamanager.py,DataManager,__getitem__,#DataManager#Any#,248

Before Change




    def __getitem__(self, key):
        if issubclass(self.data_type, pd.DataFrame):
            return self.__getitem_pandas__(key)
        elif issubclass(self.data_type, np.ndarray):
            return self.__getitem_ndarray__(key)

After Change




    def __getitem__(self, key):
        if issubclass(self.data_type, pd.DataFrame) or issubclass(self.data_type, pd.Series):
            return self.__getitem_pandas__(key)
        elif issubclass(self.data_type, np.ndarray):
            return self.__getitem_ndarray__(key)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: datascienceinc/Skater
Commit Name: dbb8ee96613356a1f80175b7347d43b892a2494c
Time: 2017-07-30
Author: aikramer2@gmail.com
File Name: skater/data/datamanager.py
Class Name: DataManager
Method Name: __getitem__


Project Name: markovmodel/PyEMMA
Commit Name: 846c2057e38f1b4f4949a082170be92d871ae646
Time: 2016-12-14
Author: feliks.nueske@fu-berlin.de
File Name: pyemma/msm/estimators/maximum_likelihood_hmsm.py
Class Name: MaximumLikelihoodHMSM
Method Name: _estimate


Project Name: datascienceinc/Skater
Commit Name: dbb8ee96613356a1f80175b7347d43b892a2494c
Time: 2017-07-30
Author: aikramer2@gmail.com
File Name: skater/data/datamanager.py
Class Name: DataManager
Method Name: __setitem__