GitHub user bustios opened a pull request:

    https://github.com/apache/zeppelin/pull/1249

    [ZEPPELIN-1255] Add cast to string in z.show() for Pandas DataFrame

    ### What is this PR for?
    Casting data types in Pandas DataFrame to string in z.show()
    
    ### What type of PR is it?
    Bug Fix
    
    ### What is the Jira issue?
    [ZEPPELIN-1255](https://issues.apache.org/jira/browse/ZEPPELIN-1255)
    
    ### How should this be tested?
    ```
    %python
    
    import pandas as pd
    
    df = 
pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data',
 header=None)
    df.columns=[1, 2, 3, 'PetalWidth', 'Name']
    z.show(df)
    
    %python.sql
    
    SELECT * FROM df  LIMIT 10
    ```
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bustios/zeppelin ZEPPELIN-1255

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1249.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1249
    
----
commit 4a8c0a9e33aa2e1f7e818177ef4b874c6606718d
Author: paulbustios <pbust...@gmail.com>
Date:   2016-07-30T05:14:08Z

    [ZEPPELIN-1255] Add cast to string in z.show() for Pandas DataFrame

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to