# Remove all entries that occur more than once

**URL:** <https://discourse.julialang.org/t/remove-all-entries-that-occur-more-than-once/76672>\
**Category:** New to Julia\
**Tags:** dataframes\
**Created:** [February 18, 2022, 6:48am UTC](https://discourse.julialang.org/t/remove-all-entries-that-occur-more-than-once/76672 "2022-02-18T06:48:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)\
**Post date:** [February 18, 2022, 7:33am UTC](https://discourse.julialang.org/t/remove-all-entries-that-occur-more-than-once/76672/2 "2022-02-18T07:33:30Z")

</div>

Yeah, `Base.unique` returns distinct values rather than unique ones.

```julia
julia> filter(x->x.nrow ==1, combine(groupby(firstnames, :name), nrow, :gender))
1×3 DataFrame
 Row │ name nrow gender 
     │ String Int64 String 
─────┼───────────────────────
   1 │ Anton 1 M

```

---

_[View the full topic](https://discourse.julialang.org/t/remove-all-entries-that-occur-more-than-once/76672)._
