Add ValueError if column type is neither numeric nor categorical