We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac759c commit 80971a5Copy full SHA for 80971a5
src/tables.jl
@@ -6,9 +6,4 @@ Tables.columnaccess(::Type{<:StructVector}) = true
6
Tables.rows(s::StructVector) = s
7
Tables.columns(s::StructVector) = fieldarrays(s)
8
9
-function Tables.schema(s::StructVector)
10
- cols = fieldarrays(s)
11
- names = propertynames(cols)
12
- types = map(eltype, cols)
13
- Tables.Schema(names, types)
14
-end
+Tables.schema(s::StructVector) = Tables.Schema(eltype(s))
0 commit comments