Skip to content

Commit 860fc14

Browse files
darsnacklorenzoh
andauthored
Remove reference to AbstractPath
Co-authored-by: lorenzoh <[email protected]>
1 parent 15fa280 commit 860fc14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/tabledataset.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct TableDataset{T} <: AbstractDataContainer
1919
end
2020

2121
TableDataset(table::T) where {T} = TableDataset{T}(table)
22-
TableDataset(path::AbstractPath) = TableDataset(DataFrame(CSV.File(path)))
22+
TableDataset(path::AbstractString) = TableDataset(DataFrame(CSV.File(path)))
2323

2424
# slow accesses based on Tables.jl
2525
_getobs_row(x, i) = first(Iterators.peel(Iterators.drop(x, i - 1)))

0 commit comments

Comments
 (0)