docstr: ivy.Container instance method variant of ivy.argwhere. This method
  simply wraps the function, and so the docstring for ivy.argwhere also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      Boolean array, for which indices are desired.
  key_chains
      The key-chains to apply or not apply the method to. Default is ``None``.
  to_apply
      If True, the method will be applied to key_chains, otherwise key_chains will
      be skipped. Default is ``True``.
  prune_unapplied
      Whether to prune key_chains for which the function was not applied. Default
      is False.
  map_sequences
      Whether to also map method to sequences (lists, tuples).
      Default is ``False``.
  
  Returns
  -------
  ret
      Indices for where the boolean array is True.
  
  Examples
  --------
  Using :class:`ivy.Container` instance method
  
  >>> x = ivy.Container(a=ivy.array([1, 2]), b=ivy.array([3, 4]))
  >>> res = x.argwhere()
  >>> print(res)
  {
      a: ivy.array([[0], [1]]),
      b: ivy.array([[0], [1]])
  }
  
  >>> x = ivy.Container(a=ivy.array([1, 0]), b=ivy.array([3, 4]))
  >>> res = x.argwhere()
  >>> print(res)
  {
      a: ivy.array([[0]]),
      b: ivy.array([[0], [1]])
  }
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.argwhere",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.argwhere","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","Boolean","array",",","for","which","indices","are","desired",".","key_chains","The","key-chains","to","apply","or","not","apply","the","method","to",".","Default","is","``","None","``",".","to_apply","If","True",",","the","method","will","be","applied","to","key_chains",",","otherwise","key_chains","will","be","skipped",".","Default","is","``","True","``",".","prune_unapplied","Whether","to","prune","key_chains","for","which","the","function","was","not","applied",".","Default","is","False",".","map_sequences","Whether","to","also","map","method","to","sequences","(","lists",",","tuples",")",".","Default","is","``","False","``",".","Returns","--","--","--","-","ret","Indices","for","where","the","boolean","array","is","True",".","Examples","--","--","--","--","Using",":","class",":","`","ivy.Container","`","instance","method",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","1",",","2","]",")",",","b=ivy.array","(","[","3",",","4","]",")",")",">",">",">","res","=","x.argwhere","(",")",">",">",">","print","(","res",")","{","a",":","ivy.array","(","[","[","0","]",",","[","1","]","]",")",",","b",":","ivy.array","(","[","[","0","]",",","[","1","]","]",")","}",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","1",",","0","]",")",",","b=ivy.array","(","[","3",",","4","]",")",")",">",">",">","res","=","x.argwhere","(",")",">",">",">","print","(","res",")","{","a",":","ivy.array","(","[","[","0","]","]",")",",","b",":","ivy.array","(","[","[","0","]",",","[","1","]","]",")","}"]
code: def argwhere(
      self: ivy.Container,
      /,
      *,
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ):
      """ivy.Container instance method variant of ivy.argwhere. This method
      simply wraps the function, and so the docstring for ivy.argwhere also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          Boolean array, for which indices are desired.
      key_chains
          The key-chains to apply or not apply the method to. Default is ``None``.
      to_apply
          If True, the method will be applied to key_chains, otherwise key_chains will
          be skipped. Default is ``True``.
      prune_unapplied
          Whether to prune key_chains for which the function was not applied. Default
          is False.
      map_sequences
          Whether to also map method to sequences (lists, tuples).
          Default is ``False``.
  
      Returns
      -------
      ret
          Indices for where the boolean array is True.
  
      Examples
      --------
      Using :class:`ivy.Container` instance method
  
      >>> x = ivy.Container(a=ivy.array([1, 2]), b=ivy.array([3, 4]))
      >>> res = x.argwhere()
      >>> print(res)
      {
          a: ivy.array([[0], [1]]),
          b: ivy.array([[0], [1]])
      }
  
      >>> x = ivy.Container(a=ivy.array([1, 0]), b=ivy.array([3, 4]))
      >>> res = x.argwhere()
      >>> print(res)
      {
          a: ivy.array([[0]]),
          b: ivy.array([[0], [1]])
      }
      """
      return self._static_argwhere(
          self,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/container/searching.py
imports: from numbers import Number
  from typing import Optional, Union, List, Dict
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 10 for calling the _ContainerWithSearching obj's underlying member method code with example usage: obj.argwhere() and returns: self