How to get DTable column names?

I loaded a set of CSV using JuliaDB.jl’s loadfiles.And I got a DTable, but there does not appear to be a function that can tell me the names of the columns.

There is a names functions for DataFrames it feels natural to have the same for IndexTables and DTable.

I think figured it out. The code can be improved though

import Base.names
function names(df::JuliaDB.DTable)
    tmpdf = JuliaDB.take_n(df,1)
    keys(tmpdf.data[1])
end