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.