Johannes Schaffrath created ZEPPELIN-4460:
---------------------------------------------
Summary: zeppelin-context doesn't show pandas df index
Key: ZEPPELIN-4460
URL: https://issues.apache.org/jira/browse/ZEPPELIN-4460
Project: Zeppelin
Issue Type: Bug
Components: python-interpreter, zeppelin-interpreter
Affects Versions: 0.8.1
Reporter: Johannes Schaffrath
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:
{code:java}
%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(){code}
{code:java}
%python
z.show(df.describe()){code}
{code:java}
%python
#current workaround
z.show(df.describe().reset_index()){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)