title: Comments and feedback on rolling own dataframe functionality and syntax?
body: <p>I want to roll my own dataframe functionality and syntax. Below is an example with a ternary-like operator:</p>
  <p><strong>Example A</strong></p>
  <p>Let's say I have a dataframe <code>df</code> and I want to set <code>row_A</code> equal to 5 if <code>row_B</code> is 10.</p>
  <p>Right now, this has to be written like this:</p>
  <pre><code>df.loc[df.row_1 == ‘10’, 'row_1'] = 5
  </code></pre>
  <p>But I want this to work:</p>
  <pre><code>df.row_A = 5 if row_B = 10
  </code></pre>
  <p>My question is: is it feasible possible to add / overload the functionality implied? Has anyone tried this?</p>
  <p>Example A above would just be the beginning.</p>
  <p>While subjective, I think this deals with a large class of &quot;not quite&quot; esoteric operations, that are in fact arcane and esoteric to execute concisely in Pandas.</p>
  <p>Note that I’m in principle happy to share / learn / complement / accept someone else's implementation too.</p>