Matthias Koch created ZEPPELIN-5920:
---------------------------------------
Summary: DeprecationWarning when using z.show with non Integer
index in DataFrame
Key: ZEPPELIN-5920
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5920
Project: Zeppelin
Issue Type: Bug
Components: python
Affects Versions: 0.10.1
Reporter: Matthias Koch
If z.show is used with a Panda DataFrame that has a timestamp as index, then a
DeprecationWarning appears for every row in the data frame.
*Steps to reproduce:*
* Execute the following code with python interpreter:
{code:python}
import pandas as pd
idx = pd.date_range('20230530', periods=3, freq='D')
df = pd.DataFrame({'name':['a','b','c']}, index= idx)
z.show(df, show_index=True){code}
*Expected result:*
* A table of the data frame
* No warnings
*Observed result:*
* A table of the data frame
* A deprecation warning for every row in the data frame
--
This message was sent by Atlassian Jira
(v8.20.10#820010)