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

[Python] Dictionary has out-of-bound index when creating DictionaryArray from Pandas with NaN

    XMLWordPrintableJSON

Details

    Description

      Minimal reproducer:

      import pandas as pd
      import pyarrow as pa
      
      pa.array(pd.Categorical(['a', 'b', 'c'], categories=['a', 'b']))
      

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              keith.j.kraus Keith Kraus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m