Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Regression from 0.19.2 to 0.20.1 in pandas.unique() when applied to list of tuples #16519
Code Sample, a copy-pastable example if possible
import pandas as pd input = [(0, 0), (0, 1), (1, 0), (1, 1), (0, 0), (0, 1), (1, 0), (1, 1)] print pd.unique(input)
The code exits unexpectedly
The code works on pandas version 0.19.2 and produces the expected output
Moreover this problem is not limited to MacOSX, but was also encounter on Ubuntu CI server.
this is related to #16394 and needs the same fix, along with some tests; ensuring that nothing else breaks.