Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1751

[Python] Pandas 0.21.0 introduces a breaking API change for MultiIndex construction

    XMLWordPrintableJSON

Details

    Description

      Pandas 0.21.0:

      In [10]: pd.__version__
      Out[10]: '0.21.0'
      
      In [11]: pd.MultiIndex.from_tuples([('a',), ('b',)])
      Out[11]:
      MultiIndex(levels=[['a', 'b']],
                 labels=[[0, 1]])
      

      Pandas 0.20.3

      In [2]: pd.__version__
      Out[2]: '0.20.3'
      
      In [3]: pd.MultiIndex.from_tuples([('a',), ('b',)])
      Out[3]: Index(['a', 'b'], dtype='object')
      

      Attachments

        Issue Links

          Activity

            People

              cpcloud Phillip Cloud
              cpcloud Phillip Cloud
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: