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
        • agg
        • aggregate
        • all_series
        • append
        • astype
        • bfill
        • columns
        • copy
        • count
        • create_variable
        • cube
        • data
        • data_columns
        • database_create_table
        • describe
        • drop
        • drop_duplicates
        • dropna
        • dtypes
        • expanding
        • ffill
        • fillna
        • from_model
        • from_pandas
        • from_table
        • get_all_variable_usage
        • get_dummies
        • get_sample
        • get_unsampled
        • group_by
        • groupby
        • head
        • index
        • index_columns
        • index_dtypes
        • is_materialized
        • loc
        • materialize
        • max
        • DataFrame
        • mean
        • median
        • merge
        • min
        • minmax_scale
        • mode
        • nunique
        • order_by
        • plot
        • quantile
        • rename
        • reset_index
        • rolling
        • rollup
        • round
        • savepoints
        • scale
        • sem
        • set_index
        • set_savepoint
        • set_variable
        • sort_index
        • sort_values
        • stack
        • std
        • std_pop
        • sum
        • to_numpy
        • to_pandas
        • unstack
        • value_counts
        • var
        • variables
        • view_sql
        • window
      • Series
  • Example notebooks
  • 🏠
  • Modeling
  • Bach
  • API reference
  • DataFrame
  • count

bach.DataFrame.count

count​

(axis=1, level=None, numeric_only=False, **kwargs)

​[source]

Count all non-NULL values in each column.

Parameters​

  • axis – only axis=1 is supported. This means columns are aggregated.
  • level – not supported.
  • numeric_only – whether to aggregate numeric series only, or attempt all.

Returns​

a new DataFrame with the aggregation applied to all selected columns.

  • Suggest an edit
  • Get help on Slack
  • Request feature or report issue
Previous
copy
Next
create_variable
  • count
    • Parameters
    • Returns
  • Privacy Policy
  • Cookies
Copyright © 2022 Objectiv