Skip to content

Commit

Permalink
Align table again
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer committed Jun 30, 2022
1 parent ca81386 commit f094263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Interface definition:
| `Tables.columnnames(table)` | propertynames(table) | Return column names for a table as an indexable collection |
| **Optional methods** | | |
| `Tables.getcolumn(table, ::Type{T}, i::Int, nm::Symbol)` | Tables.getcolumn(table, nm) | Given a column eltype `T`, index `i`, and column name `nm`, retrieve the column. Provides a type-stable or even constant-prop-able mechanism for efficiency. |
| `Tables.ncol(table)` | Tables.ncol(table) | Return the number of columns |
| `Tables.ncol(table)` | Tables.ncol(table) | Return the number of columns |
Note that subtypes of `Tables.AbstractColumns` **must** overload all required methods listed
above instead of relying on these methods' default definitions.
Expand Down Expand Up @@ -66,7 +66,7 @@ Interface definition:
| `Tables.columnnames(row)` | propertynames(row) | Return column names for a row as an indexable collection |
| **Optional methods** | | |
| `Tables.getcolumn(row, ::Type{T}, i::Int, nm::Symbol)` | Tables.getcolumn(row, nm) | Given a column element type `T`, index `i`, and column name `nm`, retrieve the column value. Provides a type-stable or even constant-prop-able mechanism for efficiency. |
| `Tables.ncol(row)` | length(propertynames(row) | Return number of columns |
| `Tables.ncol(row)` | length(propertynames(row) | Return number of columns |
Note that subtypes of `Tables.AbstractRow` **must** overload all required methods listed above
instead of relying on these methods' default definitions.
Expand Down

0 comments on commit f094263

Please sign in to comment.