Skip to content

Commit 834c367

Browse files
fix
1 parent a9437ca commit 834c367

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/utils.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ end
6060
maybesqueeze(x) = x
6161
maybesqueeze(x::AbstractMatrix) = size(x, 1) == 1 ? vec(x) : x
6262

63+
## Need this until we don't have an interface in Tables.jl
64+
## https://github.com/JuliaData/Tables.jl/pull/278
65+
getobs_table(table) = table
66+
getobs_table(table, i) = table[i, :]
67+
numobs_table(table) = size(table, 1)
68+
69+
6370
"""
6471
convert2image(d, i)
6572
convert2image(d, x)

0 commit comments

Comments
 (0)