Objectiv Documentation LogoObjectiv Documentation Logo
TrackingModelingTaxonomy
GitHubSlackTwitterObjectiv.io
  • Introduction
  • Get started in your notebook
  • Open model hub
  • Bach
    • Core Concepts
    • Usage
    • Supported Data Stores
    • API reference
      • DataFrame
      • Series
        • AbstractNumeric
        • Boolean
        • Date
        • Dict
        • Float64
        • Int64
        • Json
        • JsonPostgres
        • List
        • String
        • Time
        • Timedelta
        • Timestamp
        • Uuid
        • agg
        • aggregate
        • all_values
        • any_value
        • append
        • apply_func
        • array
        • astype
        • base_node
        • copy
        • count
        • describe
        • drop_duplicates
        • dropna
        • dtype
        • exists
        • fillna
        • from_value
        • get_db_dtype
        • group_by
        • head
        • index
        • instance_dtype
        • is_materialized
        • isin
        • isnull
        • materialize
        • max
        • Series
        • median
        • min
        • mode
        • name
        • notnull
        • nunique
        • order_by
        • reset_index
        • sort_by_series
        • sort_index
        • sort_values
        • to_frame
        • to_numpy
        • to_pandas
        • unique
        • unstack
        • value
        • value_counts
        • view_sql
        • window_cume_dist
        • window_dense_rank
        • window_first_value
        • window_lag
        • window_last_value
        • window_lead
        • window_nth_value
        • window_ntile
        • window_percent_rank
        • window_rank
        • window_row_number
  • Example notebooks
  • 🏠
  • Modeling
  • Bach
  • API reference
  • Series
  • unique

bach.Series.unique

unique​

(partition=None, skipna=True)

​[source]

Return all unique values in this Series.

Parameters​

  • partition (Union[GroupBy, DataFrame]) – The partition or window to apply.
  • skipna (bool) – If true, all NULL values are ignored.

Returns​

a new Series with the aggregation applied

Return type​

bach.series.series.SeriesSubType

  • Suggest an edit
  • Get help on Slack
  • Request feature or report issue
Previous
to_pandas
Next
unstack
  • unique
    • Parameters
    • Returns
    • Return type
  • Privacy Policy
  • Cookies
Copyright © 2022 Objectiv