title: Pandas module in SPSS Modeler
body: <p>I need to put a certain code developed in Python 3 into a SPSS Modeler node (using the Extension Transform node). This code uses pandas and the default installation of Modeler doesn't include this module.</p>
  
  <p>I tried to make SPSS to point to my own Python installation (which includes pandas module) by modifying the 'options.cfg' file following these instructions:</p>
  
  <p><a href="https://www.ibm.com/support/knowledgecenter/en/SS3RA7_sub/modeler_r_nodes_ddita/clementine/r_pyspark_api.html" rel="nofollow noreferrer">https://www.ibm.com/support/knowledgecenter/en/SS3RA7_sub/modeler_r_nodes_ddita/clementine/r_pyspark_api.html</a></p>
  
  <p>However, when I try to import pandas inside SPSS Modeler, it isn't able to load the module. In fact I am not able to load pyspark neither by writing:</p>
  
  <p><code>import spss.pyspark</code></p>
  
  <p>Also when I try to see the directory of the python executable: </p>
  
  <p><code>import sys
  print sys.executable</code></p>
  
  <p>SPSS gives back a 'None' value.</p>
  
  <p>How can I get to work pandas in SPSS Modeler? It seems that I am not able to import any module in Modeler. I am a beginner in SPSS so any help would be appreciated.</p>