

def _into_iter_mongodb(coll, columns=None, dshape=None):
    ' Into helper function\n\n    Return both a lazy sequence of tuples and a list of column names\n    '
    seq = coll.find()
    if ((not columns) and dshape):
        columns = dshape.measure.names
    elif (not columns):
        item = next(seq)
        seq = concat([[item], seq])
        columns = sorted(item.keys())
        dshape.remove('_id')
    return (columns, pluck(columns, seq))

dataset/ETHPy150Open blaze/odo/odo/backends/mongo.py _into_iter_mongodb/VarMisuse@88/139 `columns`->`dshape`