XLSX.jl icon indicating copy to clipboard operation
XLSX.jl copied to clipboard

Make `Worksheet` a Tables.jl table

Open rafaqz opened this issue 3 years ago • 3 comments

Would it not be possible to treat Worksheet directly as a table? I am wondering why calling eachtablerow is not automated for Tables.rows(worksheet::Worksheet) = eachtablerow(worksheet) ?

rafaqz avatar Dec 10 '21 14:12 rafaqz

It is possible, and a design decision. What would you do with all the opcional arguments that eachtablerow provides?

felipenoris avatar Dec 10 '21 22:12 felipenoris

I guess you would still call eachtablerow for those, and it would just be the defaults.

rafaqz avatar Dec 12 '21 09:12 rafaqz

I like that idea!

felipenoris avatar Dec 12 '21 12:12 felipenoris