Numpy Find Unique Values In Sql