merge_machine/abstract_data_project.py
def _choose_dtype(col):
        '''Load the correct type according to the column name'''
        if any(x in col for x in ['__MODIFIED', '__IS_MATCH']):
            return bool
        elif col in ['__CONFIDENCE', '__ES_SCORE', '__THRESH']:
            return float
        elif col in ['__ID_QUERY']:
            return float # Change when possible
        else:
            return str
Load the correct type according to the column name
Load the correct type according to the column name
Load the correct type according to the column name
def _choose_dtype(col):
        if any(x in col for x in ['__MODIFIED', '__IS_MATCH']):
            return bool
        elif col in ['__CONFIDENCE', '__ES_SCORE', '__THRESH']:
            return float
        elif col in ['__ID_QUERY']:
            return float 
        else:
            return str
def _choose_dtype ( col ) : if any ( x in col for x in [ '__MODIFIED' , '__IS_MATCH' ] ) : return bool elif col in [ '__CONFIDENCE' , '__ES_SCORE' , '__THRESH' ] : return float elif col in [ '__ID_QUERY' ] : return float else : return str
Load the correct type according to the column name
Load the correct type according to the column name
'''Load the correct type according to the column name''' # Change when possible
col