title: Deploy pandas transformation as a machine learning model
body: <p>I would like to deploy a simple pandas dataframe transformation as a machine learning model.</p>
  <p>Say, I have:</p>
  <p><code>X = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})</code></p>
  <p>How to create a 'model', which after the call
  <code>pred = model.predict(X)</code></p>
  <p>will &quot;predict&quot; a sum of A and B:
  <code>pred = df['A'] + df['B']</code> ?</p>
  <p>My use case is to treat it as a kind of baseline model in my ML experiments, in which I will encode different heuristics.</p>
  <p>Having such a &quot;model&quot; I would like to be able to eg pickle it and deploy on some endpoint to serve &quot;human predictions&quot;.</p>
  <p>Many thanks in advance :)</p>
  <p>Andy</p>