parameters: (name)
docstring: Only DataFrame cares about default_axis, specifically:
      special methods have default_axis=None and flex methods
      have default_axis='columns'.
  
      Parameters
      ----------
      name : str
  
      Returns
      -------
      default_axis: str or None
docstring_summary: Only DataFrame cares about default_axis, specifically:
      special methods have default_axis=None and flex methods
      have default_axis='columns'.
docstring_tokens: Only DataFrame cares about default_axis specifically : special methods have default_axis = None and flex methods have default_axis = columns .
function: def _get_frame_op_default_axis(name):
      """
      Only DataFrame cares about default_axis, specifically:
      special methods have default_axis=None and flex methods
      have default_axis='columns'.
  
      Parameters
      ----------
      name : str
  
      Returns
      -------
      default_axis: str or None
      """
      if name.replace('__r', '__') in ['__and__', '__or__', '__xor__']:
          # bool methods
          return 'columns'
      elif name.startswith('__'):
          # __add__, __mul__, ...
          return None
      else:
          # add, mul, ...
          return 'columns'
function_tokens: def _get_frame_op_default_axis ( name ) : if name . replace ( '__r' , '__' ) in [ '__and__' , '__or__' , '__xor__' ] : # bool methods return 'columns' elif name . startswith ( '__' ) : # __add__, __mul__, ... return None else : # add, mul, ... return 'columns'