We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d236431 commit 0d36405Copy full SHA for 0d36405
src/tables.jl
@@ -50,10 +50,9 @@ end
50
# the dth element of `indices`, whose type it could not infer.
51
function _get_keys_columns(R)
52
R_inds = map(eachindex, R)
53
- return map(
54
- (r, d) -> vec([r[indices[d]] for indices in Iterators.product(R_inds...)]),
55
- R, ntuple(identity, length(R)),
56
- )
+ return map(R, ntuple(identity, length(R))) do r, d
+ vec([r[indices[d]] for indices in Iterators.product(R_inds...)])
+ end
57
end
58
59
function Tables.Schema(nt::NamedTuple) # 🏴☠️
0 commit comments