def load_model(self, model_name, version=None):
    incident_model_collection = self._get_incident_model_collection()
    filter_dict = {'model_name': model_name}
    if (version is not None):
        filter_dict['version'] = version
    result = incident_model_collection.find(filter_dict)
    print((datetime.datetime.now().strftime('%H:%M:%s') + ' load_model_start '))
    results = []
    for item_tmp in result:
        results.append(item_tmp)
    print((datetime.datetime.now().strftime('%H:%M:%s') + ' load_model_end '))
    return pd.DataFrame(results).drop('_id', axis=1)
def load_model(self, model_name, version=None):
    incident_model_collection = self._get_incident_model_collection()
    filter_dict = {'model_name': model_name}
    if (version is not None):
        filter_dict['version'] = version
    result = incident_model_collection.find(filter_dict)
    print((datetime.datetime.now().strftime('%H:%M:%s') + ' load_model_start '))
    results = []
    for item_tmp in result:
        results.append(item_tmp)
    print((datetime.datetime.now().strftime('%H:%M:%s') + ' load_model_end '))
    return pd.DataFrame(results).drop('_id', axis=1)