Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • PySpark
    • None

    Description

      We cannot rely on codes when compare equality of unordered Categoricals.

      An example looks like

      >>> (ps.Series(pd.Categorical(list('abca'))) == ps.Series(pd.Categorical(list('bcaa'), categories=list('bca')))).sort_index()
      0     True
      1     True
      2     True
      3    False
      dtype: bool
      

      Attachments

        Activity

          People

            XinrongM Xinrong Meng
            XinrongM Xinrong Meng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: