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

DeprecationWarning when using z.show with non Integer index in DataFrame

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.1
    • 0.11.0
    • python
    • None

    Description

      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:
      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)

      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

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matthias.koch Matthias Koch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: