class DataFrameBuilder {

    public <T> DataFrame foldIterableByColumn(Iterable<T> iterable) {

        // since we can't know the exact size of the Iterable in a general case, convert it to array and fold that by
        // column
        return foldByColumn(toCollection(iterable).toArray());
    }

    protected  DataFrameBuilder(Index columnsIndex);

}