Github user xuanyuanking commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21370#discussion_r189569952
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -78,6 +78,12 @@ def __init__(self, jdf, sql_ctx):
             self.is_cached = False
             self._schema = None  # initialized lazily
             self._lazy_rdd = None
    +        self._eager_eval = sql_ctx.getConf(
    +            "spark.jupyter.eagerEval.enabled", "false").lower() == "true"
    +        self._default_console_row = int(sql_ctx.getConf(
    +            "spark.jupyter.default.showRows", u"20"))
    +        self._default_console_truncate = int(sql_ctx.getConf(
    +            "spark.jupyter.default.showRows", u"20"))
    --- End diff --
    
    Yep, I'll fix it in next commit. 
    
![image](https://user-images.githubusercontent.com/4833765/40306628-fecbc1aa-5d31-11e8-970d-cc1bcd0e8952.png)



---

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

Reply via email to