Skip to content
Prev Previous commit
Next Next commit
Clarify tip for getitem
  • Loading branch information
janbridley committed Jan 18, 2025
commit c9fd5a6c2c591af2185e5b1ddd1266bae3cd1a65
5 changes: 3 additions & 2 deletions parsnip/parsnip.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,9 @@ def __getitem__(self, index: str | Iterable[str]):

.. tip::

This method of accessing data is recommended for most uses, as it best
ensures data is returned where possible.
This method of accessing data is recommended for most uses, as it ensures
data is returned wherever possible. :meth:`~.get_from_loops` may be useful
when multi-column slices of an array are needed.

Example
-------
Expand Down