You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a recent update in DataFrames v0.18, the line DataFrame(load("file.xlsx", "sheetname")) no longer works to read an Excel file into a DataFrame. I get the following error:
ArgumentError: no default Tables.columns implementation for type: ExcelFiles.ExcelFile
Stacktrace:
[1] #DataFrame#365(::Bool, ::Type, ::ExcelFiles.ExcelFile) at .julia/packages/Tables/qlc3J/src/fallbacks.jl:156
[2] DataFrame(::ExcelFiles.ExcelFile) at .julia/packages/DataFrames/dXFYy/src/other/tables.jl:20
It seems ExcelFiles needs to update to use the Tables API.
The text was updated successfully, but these errors were encountered:
AFAICT that's a problem in Tables.jl. Since JuliaData/Tables.jl#84, Tables.columns checks Base.isiterable(T) instead of istable(x), which doesn't take into account TableTraits.isiterabletable(x). Yet ExcelFile defines the latter, but not the former.
After a recent update in
DataFrames
v0.18, the lineDataFrame(load("file.xlsx", "sheetname"))
no longer works to read an Excel file into a DataFrame. I get the following error:It seems
ExcelFiles
needs to update to use theTables
API.The text was updated successfully, but these errors were encountered: