About 425,000 results
Open links in new tab
  1. database - How to select unique records by SQL - Stack Overflow

    When I perform SELECT * FROM table I got results like below: 1 item1 data1 2 item1 data2 3 item2 data3 4 item3 data4 As you can see, there are dup records from column2 (item1 are …

  2. Get unique values from a list in python - Stack Overflow

    Oct 15, 2012 · I want to get the unique values from the following list: ['nowplaying', 'PBS', 'PBS', 'nowplaying', 'job', 'debate', 'thenandnow'] The output which I require is ...

  3. linux - Find unique lines - Stack Overflow

    Dec 8, 2012 · How can I find the unique lines and remove all duplicates from a file? My input file is 1 1 2 3 5 5 7 7 I would like the result to be: 2 3 sort file | uniq will not do the job. Will show all val...

  4. MySQL: SELECT UNIQUE VALUE - Stack Overflow

    Dec 16, 2015 · In my table I have several duplicates. Ineed to find unique values in mysql table column. SQL SELECT column FROM table WHERE column is unique SELECT column FROM …

  5. Get unique values using STRING_AGG in SQL Server

    May 29, 2018 · The following query returns the results shown below: SELECT ProjectID, newID.value FROM [dbo].[Data] WITH(NOLOCK) CROSS APPLY STRING_SPLIT([bID],';') …

  6. df.unique () on whole DataFrame based on a column

    Apr 3, 2017 · It's also possible to call duplicated() to flag the duplicates and drop the negation of the flags.. df = df[~df.duplicated(subset=['Id'])].copy()

  7. Get all unique values in a JavaScript array (remove duplicates)

    For future readers, when start finding that you have to algorithmically modify the contents of your data structure all the time, (order them, remove repeating elements, etc.) or search for …

  8. List unique values in a Pandas dataframe - Stack Overflow

    Dec 22, 2017 · I know that df.name.unique() will give unique values in ONE column 'name'. For example: name report year Coch Jason 2012 Pima Molly 2012 Santa Tina 2013 Mari Jake …

  9. algorithm - vba: get unique values from array - Stack Overflow

    Dec 16, 2019 · Is there any built-in functionality in vba to get unique values from a one-dimensional array? What about just getting rid of duplicates? If not, then how would I get the …

  10. pointers - What's the point of unique_ptr? - Stack Overflow

    Jan 20, 2015 · The purpose of std::unique_ptr is to provide automatic and exception-safe deallocation of dynamically allocated memory (unlike a raw pointer that must be explicitly …