Skip to content

Commit 568aee4

Browse files
committed
Update getindex.jl
1 parent c392dc0 commit 568aee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dataset/getindex.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ _onebased_check_error(i, col) =
2727
"column $i has starting index equal to $(firstindex(col))"))
2828

2929
# note: these type assertions are required to pass tests
30-
nrow(ds::Dataset) = ncol(ds) > 0 ? length(_columns(ds)[1])::Int : 0
31-
ncol(ds::Dataset) = length(index(ds))
30+
DataAPI.nrow(ds::Dataset) = ncol(ds) > 0 ? length(_columns(ds)[1])::Int : 0
31+
DataAPI.ncol(ds::Dataset) = length(index(ds))
3232

3333
##############################################################################
3434
##

0 commit comments

Comments
 (0)