code: def pmax(a, b):
      assert type(a) in [list, np.array]
      return pd.DataFrame({"A": a}).assign(B=b).max(axis=1).values
  
file_path: scattertext/scattertext/termscoring/lrc.py
imports: from typing import Union
  import numpy
  import pandas
  from scipy.stats import beta
  from scattertext import CorpusBasedTermScorer
label_desc: Use image node_id 3 for calling a global function with example usage: pmax(a, b) and returns: pd