# 'datetime' is not a valid pandas dtype: Only on output (on reading) will be then converted (via parse_dates) to datetime64[ns] type, cannot specify 'datetime' (of any kind) here: will fail
date_columns=[]# Needs to be the numeric index of the column, as seems not to be able to work with tupples....
# 'datetime' is not a valid pandas dtype: Only on output (on reading) will be then converted (via parse_dates) to datetime64[ns] type, cannot specify 'datetime' (of any kind) here: will fail
date_columns=[]# Needs to be the numeric index of the column, as seems not to be able to work with tupples....
logging.warning('Data numeric elements with missing upper or lower threshold: {}'.format(",".join([str(x)forxinelementsifxnotinset_elements])))
logging.warning('Corresponding upper and/or lower bounds set to +/-inf for validation')
#mask[set_elements] = ((df[set_elements] >= [ lower.get(x) for x in set_elements ] ) & (df[set_elements] <= [ upper.get(x) for x in set_elements ])) | df[set_elements].isna()