snowflake.snowpark.modin.plugin.extensions.window_overrides.Expanding.count¶ Expanding.count(numeric_only: bool = False)[source]¶ Compute the expanding count. Parameters: numeric_only (bool, default False) – Include only float, int, boolean columns. Returns: Computed expanding count of values. Return type: Series or DataFrame Examples CopyExpand>>> df = pd.DataFrame({'B': [0, 1, 2, np.nan, 4]}) >>> df B 0 0.0 1 1.0 2 2.0 3 NaN 4 4.0 >>> df.expanding(2).count() B 0 NaN 1 2.0 2 3.0 3 3.0 4 4.0 Show lessSee moreScroll to top