73675264dd48387319f62780b52d81389016cc1f,neurosynth/base/dataset.py,FeatureTable,get_ids,#FeatureTable#Any#Any#Any#Any#,546
 
Before Change
        feature_indices = np.in1d(np.array(self.feature_names), np.array(features))
        data = self.data.toarray()
        feature_weights = data[:, feature_indices]
        weights = eval("np.%s(tw, 1)" % func, {}, {
                       "np": np, "tw": feature_weights})  // Safe eval
        above_thresh = (weights >= threshold)
        ids_to_keep = self.ids[above_thresh]
        if get_weights:
After Change
            features = [features]
        features = self.search_features(features)  // Expand wild cards
        feature_weights = self.data.ix[:, features]
        weights = feature_weights.apply(func, 1)
        above_thresh = weights[weights >= threshold]
        // ids_to_keep = self.ids[above_thresh]
        return above_thresh if get_weights else list(above_thresh.index)

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
 Project Name: neurosynth/neurosynth
 Commit Name: 73675264dd48387319f62780b52d81389016cc1f
 Time: 2014-03-24
 Author: tyarkoni@gmail.com
 File Name: neurosynth/base/dataset.py
 Class Name: FeatureTable
 Method Name: get_ids
 Project Name: dirty-cat/dirty_cat
 Commit Name: f70e71d5c7fdc8e25391e54e74c3402fb323ad5c
 Time: 2018-06-06
 Author: pierreglaser@msn.com
 File Name: examples/plot_employee_salaries.py
 Class Name: 
 Method Name: 
 Project Name: etal/cnvkit
 Commit Name: 21c02b1e880cd657646ac6664ae3768395d2253a
 Time: 2016-12-11
 Author: eric.talevich@gmail.com
 File Name: cnvlib/tabio/gff.py
 Class Name: 
 Method Name: read_gff