diff --git a/andes/core/model/modeldata.py b/andes/core/model/modeldata.py index 76ded8a23..a66f2cb8d 100644 --- a/andes/core/model/modeldata.py +++ b/andes/core/model/modeldata.py @@ -293,7 +293,8 @@ def find_idx(self, keys, values, allow_none=False, default=False, allow_all=Fals default : bool, optional Default idx to return if not found (missing) allow_all : bool, optional - Return all matches if set to True + If True, returns a list of lists where each nested list contains all the matches for the + corresponding search criteria. Returns ------- @@ -304,8 +305,6 @@ def find_idx(self, keys, values, allow_none=False, default=False, allow_all=Fals ----- - Only the first match is returned by default. - If all matches are needed, set `allow_all` to True. - - When `allow_all` is set to True, the function returns a list of lists where each nested list contains - all the matches for the corresponding search criteria. Examples --------