This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 2ba03d0 changed-readme-for-python-interpreter-for-apache-zeppelin 2ba03d0 is described below commit 2ba03d03aa6c450751d35b20e2ddae64f4f301ca Author: Nikhil Nagpal <nikhil.nagpal11...@gmail.com> AuthorDate: Sun Apr 7 11:51:54 2019 +0530 changed-readme-for-python-interpreter-for-apache-zeppelin ### What is this PR for? Fixed some of the grammatical issues with the documentation for Python Interpreter for Apache Zeppelin. ### What type of PR is it? Documentation ### What is the Jira issue? * Issue link :- https://issues.apache.org/jira/browse/ZEPPELIN-4111 Author: Nikhil Nagpal <nikhil.nagpal11...@gmail.com> Author: d3adp007 <nikhil.nagpal11...@gmail.com> Closes #3348 from d3adp007/master and squashes the following commits: 41bcd2b4b [Nikhil Nagpal] updated-after-changes-suggested 33cd8d89c [d3adp007] changed-readme-for-python-interpreter-for-apache-zeppelin --- python/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/README.md b/python/README.md index 1b9e91b..29dc1f0 100644 --- a/python/README.md +++ b/python/README.md @@ -24,7 +24,7 @@ mvn -Dpython.test.exclude='' test -pl python -am * Python 2 or 3 installed with py4j (0.9.2) and matplotlib (1.31 or later) installed on each - * Tests only checks the interpreter logic and starts any Python process! Python process is mocked with a class that simply output it input. + * Tests only checks the interpreter logic and starts any Python process! Python process is mocked with a class that simply output its input. * Code wrote in `bootstrap.py` and `bootstrap_input.py` should always be Python 2 and 3 compliant. @@ -38,13 +38,13 @@ mvn -Dpython.test.exclude='' test -pl python -am * When interpreter is starting, it sends some Python code (bootstrap.py and bootstrap_input.py) to initialize default behavior and functions (`help(), z.input()...`). bootstrap_input.py is sent only if py4j library is detected inside Python process. - * [Py4J](https://www.py4j.org/) python and java libraries is used to load Input zeppelin Java class into the python process (make java code with python code !). Therefore the interpreter can directly create Zeppelin input form inside the Python process (and eventually with some python variable already defined). JVM opens a random open port to be accessible from python process. + * [Py4J](https://www.py4j.org/) Python and Java libraries are used to load input zeppelin Java class into the python process (make java code with python code !). Therefore the interpreter can directly create Zeppelin input form inside the Python process (and eventually with some python variable already defined). JVM opens a random open port to be accessible from python process. - * JavaBuilder can't send SIGINT signal to interrupt paragraph execution. Therefore interpreter directly send a `kill SIGINT PID` to python process to interrupt execution. Python process catch SIGINT signal with some code defined in bootstrap.py + * JavaBuilder can't send SIGINT signal to interrupt paragraph execution. Therefore interpreter will directly send a `kill SIGINT PID` to python process to interrupt execution. Python process catches SIGINT signal with some code defined in bootstrap.py * Matplotlib figures are displayed inline with the notebook automatically using a built-in backend for zeppelin in conjunction with a post-execute hook. - * `%python.sql` support for Pandas DataFrames is optional and provided using https://github.com/yhat/pandasql if user have one installed + * `%python.sql` support for Pandas DataFrames is optional but can be downloaded from [here](https://github.com/yhat/pandasql) if user does not have one installed. # IPython Overview