Method: FatTable::Table#except_all
- Defined in:
- lib/fat_table/table.rb
#except_all(other) ⇒ Object
Return a Table that includes the rows of this table except for any rows that are the same as those in Table +other+. In other words, return the set difference between this table an the other. The headers of this table are used in the result. There must be the same number of columns of the same type in the two tables, or an exception will be thrown. Duplicates are /not/ eliminated from the result. Any groups present in either Table are eliminated in the output Table.
1191 1192 1193 |
# File 'lib/fat_table/table.rb', line 1191 def except_all(other) set_operation(other, :difference, distinct: false) end |