private function getMostFrequentDatatypeForColumn($datatypes) {
        // remove 'false' from array (can happen if CSV cell is empty)
        $typesFiltered = array_filter($datatypes);

        if (empty($typesFiltered)) {
            return false;
        }

        $typesFreq = array_count_values($typesFiltered);
        arsort($typesFreq);
        reset($typesFreq);

        return key($typesFreq);

    }