cb4acd41252554266d539023be1456b7ac61abbd,linearmodels/panel/data.py,PanelData,entity_ids,#PanelData#,147

Before Change


        id : array
            2d array containing entity ids corresponding dataframe view
        
        ids = self._frame.reset_index()["entity"]
        ids = pd.Categorical(ids, ordered=True)
        return ids.codes[:, None]

    @property
    def time_ids(self):

After Change


        id : array
            2d array containing entity ids corresponding dataframe view
        
        return np.asarray(self._frame.index.labels[0])[:, None]
    
    @property
    def time_ids(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: bashtage/linearmodels
Commit Name: cb4acd41252554266d539023be1456b7ac61abbd
Time: 2017-03-30
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/data.py
Class Name: PanelData
Method Name: entity_ids


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 89b43bbd55550d5c103a8b06281d9bc62e533680
Time: 2019-08-05
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAData/data_resample.py
Class Name:
Method Name: QA_data_min_resample


Project Name: CNuge/kaggle-code
Commit Name: 6bd7fc12a7e94dd18d5ce3eee200a6083ccf8756
Time: 2018-10-18
Author: nugentc@uoguelph.ca
File Name: google_analytics/light_gbm_predict.py
Class Name:
Method Name:


Project Name: bashtage/linearmodels
Commit Name: cb4acd41252554266d539023be1456b7ac61abbd
Time: 2017-03-30
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/data.py
Class Name: PanelData
Method Name: time_ids