You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Inam Ur Rehman (JIRA)" <ji...@apache.org> on 2016/06/27 19:27:52 UTC

[jira] [Created] (SPARK-16232) Getting error by making columns using DataFrame

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org