code: def merge(*series):
      
      dfs = []
      for s in series:
          if isinstance(s, pd.DataFrame):
              dfs.append(s)
          elif isinstance(s, pd.Series):
              tmpdf = pd.DataFrame({s.name: s})
              dfs.append(tmpdf)
          else:
              raise NotImplementedError('Unsupported merge type')
  
      return pd.concat(dfs, axis=1)
docs: Merge Series and/or DataFrames together.
  
      Returns a DataFrame.