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

    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

              • Assignee:
                wesmckinn Wes McKinney
                Reporter:
                keith.j.kraus Keith Kraus
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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