Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4460

zeppelin-context doesn't show pandas df index

    XMLWordPrintableJSON

    Details

      Description

      Hello everyone,

      since this PR the zeppeling context should display the index of a pandas dataframe. We are using zeppelin 0.8.1 with python3 and the index isn't displayed. Can you please have a look.

      Code to reproduce:

      %python
       #z.show() doesn't show the index
       import pandas as pd
       lst = [[1, 25], [2, 30], [4, 26], [7, 22]] 
       df = pd.DataFrame(lst)
       df.describe()
      %python
       z.show(df.describe())
      %python
       #current workaround
       z.show(df.describe().reset_index())

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cronoik Johannes Schaffrath
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: