175a5a2f55dd7066b1ce71f3148af4c4aef5da65,examples/crop-type-classification/Tasks/CropTypeClassTasks.py,,get_slovenia_crop_geopedia_idx_to_crop_id_mapping,#,429

Before Change


    
    gpd_session = GeopediaSession()
    to_crop_id = list(GeopediaFeatureIterator(layer="2036", gpd_session=gpd_session))
    to_crop_id = [{"crop_geopedia_idx": code["id"], **code["properties"]} for code in to_crop_id]
    to_crop_id = pd.DataFrame(to_crop_id)
    to_crop_id["crop_geopedia_idx"] = pd.to_numeric(to_crop_id.crop_geopedia_idx)

    return to_crop_id


def get_austria_crop_geopedia_idx_to_crop_id_mapping():
    

After Change


    :return: pandas DataFrame with "crop_geopedia_idx" and corresponding crop id
    :rtype: pandas.DataFrame
    
    return get_crop_features(2036)


def get_austria_crop_geopedia_idx_to_crop_id_mapping():
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_slovenia_crop_geopedia_idx_to_crop_id_mapping


Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_slovenia_crop_geopedia_idx_to_crop_id_mapping


Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_danish_crop_geopedia_idx_to_crop_id_mapping


Project Name: bashtage/linearmodels
Commit Name: e8ec5988560329b2759ef4ee544f74b33d11fc9e
Time: 2018-04-04
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/data.py
Class Name: PanelData
Method Name: count