Skip to content

Commit

Permalink
Merge pull request tskit-dev#1348 from benjeffery/table-indexing
Browse files Browse the repository at this point in the history
Add fancy indexing to tables
  • Loading branch information
mergify[bot] authored May 12, 2021
2 parents f6b917d + 457d50d commit 38e2229
Show file tree
Hide file tree
Showing 3 changed files with 271 additions and 64 deletions.
4 changes: 4 additions & 0 deletions python/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

**Features**

- Add fancy indexing to tables. E.g. ``table[6:86]`` returns a new table with the
specified rows. Supports slices, index arrays and boolean masks
(:user:`benjeffery`, :issue:`1221`, :pr:`1348`, :pr:`1342`).

- Add ``Table.append`` method for adding rows from classes such as ``SiteTableRow`` and
``Site`` (:user:`benjeffery`, :issue:`1111`, :pr:`1254`).

Expand Down
Loading

0 comments on commit 38e2229

Please sign in to comment.