Skip to content

Commit

Permalink
Refer to DataFrame::unique instead of distinct (#5482)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1ck committed Nov 11, 2022
1 parent bf37a72 commit b70b95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polars/polars-core/src/frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2934,7 +2934,7 @@ impl DataFrame {
/// | 3 | 3 | "c" |
/// +-----+-----+-----+
/// ```
#[deprecated(note = "use distinct")]
#[deprecated(note = "use DataFrame::unique")]
pub fn drop_duplicates(
&self,
maintain_order: bool,
Expand Down Expand Up @@ -2987,7 +2987,7 @@ impl DataFrame {
self.unique_impl(true, subset, keep)
}

/// Unstable distinct. See [`DataFrame::distinct_stable`].
/// Unstable distinct. See [`DataFrame::unique_stable`].
pub fn unique(
&self,
subset: Option<&[String]>,
Expand Down

0 comments on commit b70b95e

Please sign in to comment.