title: How does Spark interoperate with CPython
body: <p>I have an Akka system written in <code>scala</code> that needs to call out to some <code>Python</code> code, relying on <code>Pandas</code> and <code>Numpy</code>, so I can't just use Jython. I noticed that Spark uses CPython on its worker nodes, so I'm curious how it executes Python code and whether that code exists in some re-usable form.</p>