for a table with a list field i’m trying to call map
<code>import ibis
from ibis import _
t = ibis.memtable({
'i': [1,2,3],
'x': [[1,2],[3,5],[6,7] ]
})
</code>
<code>import ibis
from ibis import _
t = ibis.memtable({
'i': [1,2,3],
'x': [[1,2],[3,5],[6,7] ]
})
</code>
import ibis
from ibis import _
t = ibis.memtable({
'i': [1,2,3],
'x': [[1,2],[3,5],[6,7] ]
})
using the table object works:
<code>t.select(t.x.map(_ + 1))
</code>
<code>t.select(t.x.map(_ + 1))
</code>
t.select(t.x.map(_ + 1))
but using the underscore api (chain expressions) fails:
<code>t.select(_.x.map(_ + 1))
</code>
<code>t.select(_.x.map(_ + 1))
</code>
t.select(_.x.map(_ + 1))
TypeError: unsupported operand type(s) for +: ‘Table’ and ‘int’