Inam Ur Rehman created SPARK-16232:
--------------------------------------

             Summary: Getting error by making columns using DataFrame 
                 Key: SPARK-16232
                 URL: https://issues.apache.org/jira/browse/SPARK-16232
             Project: Spark
          Issue Type: Question
          Components: MLilb, PySpark
    Affects Versions: 1.5.1
         Environment: Winodws, ipython notebook
            Reporter: Inam Ur Rehman


I am using pyspark in ipython notebook for analysis. 
I am following an example toturial this 
http://nbviewer.jupyter.org/github/bensadeghi/pyspark-churn-prediction/blob/master/churn-prediction.ipynb

I am getting error on this step
pd.DataFrame(CV_data.take(5), columns=CV_data.columns) 

Py4JJavaError: An error occurred while calling 
z:org.apache.spark.sql.execution.EvaluatePython.takeAndServe.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in 
stage 11.0 failed 1 times, most recent failure: Lost task 0.0 in stage 11.0 
(TID 18, localhost): org.apache.spark.api.python.PythonException: Traceback 
(most recent call last):




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to