code: def _join(verb):
      
      data = pd.merge(verb.x, verb.y, **verb.kwargs)
  
      # Preserve x groups
      if isinstance(verb.x, GroupedDataFrame):
          data.plydata_groups = list(verb.x.plydata_groups)
      return data
docs: Join helper