Skip to content

Commit

Permalink
make Tables.columns(df) return eachcol(df) (#2680)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins authored Mar 26, 2021
1 parent 1d3f31b commit f3278e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/other/tables.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Tables.istable(::Type{<:AbstractDataFrame}) = true
Tables.columnaccess(::Type{<:AbstractDataFrame}) = true
Tables.columns(df::AbstractDataFrame) = df
Tables.columns(df::AbstractDataFrame) = eachcol(df)
Tables.rowaccess(::Type{<:AbstractDataFrame}) = true
Tables.rows(df::AbstractDataFrame) = eachrow(df)
Tables.rowtable(df::AbstractDataFrame) = Tables.rowtable(Tables.columntable(df))
Expand Down

0 comments on commit f3278e8

Please sign in to comment.