parameters: (
          self, other, on=None, how="left", lsuffix="", rsuffix="", sort=False,
      )
return_statement: return df
docstring: Join columns with other DataFrame on index or on a key column.
  
          Parameters
          ----------
          other : DataFrame
          how : str
              Only accepts "left", "right", "inner", "outer"
          lsuffix, rsuffix : str
              The suffices to add to the left (*lsuffix*) and right (*rsuffix*)
              column names when avoiding conflicts.
          sort : bool
              Set to True to ensure sorted ordering.
  
          Returns
          -------
          joined : DataFrame
  
          Notes
          -----
          Difference from pandas:
  
          - *other* must be a single DataFrame for now.
          - *on* is not supported yet due to lack of multi-index support.
docstring_summary: Join columns with other DataFrame on index or on a key column.
docstring_tokens: Join columns with other DataFrame on index or on a key column .
function: def join(
          self, other, on=None, how="left", lsuffix="", rsuffix="", sort=False,
      ):
          """Join columns with other DataFrame on index or on a key column.
  
          Parameters
          ----------
          other : DataFrame
          how : str
              Only accepts "left", "right", "inner", "outer"
          lsuffix, rsuffix : str
              The suffices to add to the left (*lsuffix*) and right (*rsuffix*)
              column names when avoiding conflicts.
          sort : bool
              Set to True to ensure sorted ordering.
  
          Returns
          -------
          joined : DataFrame
  
          Notes
          -----
          Difference from pandas:
  
          - *other* must be a single DataFrame for now.
          - *on* is not supported yet due to lack of multi-index support.
          """
  
          df = self.merge(
              other,
              left_index=True,
              right_index=True,
              how=how,
              suffixes=(lsuffix, rsuffix),
              sort=sort,
          )
          df.index.name = (
              None if self.index.name != other.index.name else self.index.name
          )
          return df
function_tokens: def join ( self , other , on = None , how = "left" , lsuffix = "" , rsuffix = "" , sort = False , ) : df = self . merge ( other , left_index = True , right_index = True , how = how , suffixes = ( lsuffix , rsuffix ) , sort = sort , ) df . index . name = ( None if self . index . name != other . index . name else self . index . name ) return df